home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / mail / elm / elm2.4 / doc / Ref.guide < prev    next >
Encoding:
Text File  |  1993-05-13  |  87.7 KB  |  2,447 lines

  1. .\" @(#)$Id: Ref.guide,v 5.25 1993/05/14 03:56:39 syd Exp $
  2. .\"
  3. .\"  Reference guide to the Elm mail system.
  4. .\"  format with
  5. .\"      troff tmac.n Ref.guide > Ref.format
  6. .\"
  7. .\"  Elm is now in the public trust. Bug reports, comments, suggestions, flames
  8. .\"  etc. should go to:
  9. .\"    Syd Weinstein        elm@DSI.COM (dsinc!elm)
  10. .\"
  11. .\"  (C) Copyright 1986,1987 Dave Taylor
  12. .\"  (C) Copyright 1988-1992 Usenet Community Trust
  13. .\"
  14. .\"  $Log: Ref.guide,v $
  15. .\" Revision 5.25  1993/05/14  03:56:39  syd
  16. .\" Moved the new numeric variables to the Numeric Variables section and
  17. .\" applied the quoting/highlight policy to them.
  18. .\" From: dwolfe@pffft.sps.mot.com (Dave Wolfe)
  19. .\"
  20. .\" Revision 5.24  1993/05/08  20:08:43  syd
  21. .\" add sleepmsg parameter
  22. .\"
  23. .\" Revision 5.23  1993/05/08  20:00:22  syd
  24. .\" fix mail added >From lines
  25. .\" From: Syd
  26. .\"
  27. .\" Revision 5.22  1993/05/08  18:56:16  syd
  28. .\" created a new elmrc variable named "readmsginc".  This specifies an
  29. .\" increment by which the message count is updated.  If this variable is
  30. .\" set to, say, 25, then the message count will only be updated every 25
  31. .\" messages, displaying 0, 25, 50, 75, and so forth.  The default value
  32. .\" of 1 will cause Elm to behave exactly as it currently does in PL21.
  33. .\" From: Eric Peterson <epeterso@encore.com>
  34. .\"
  35. .\" Revision 5.21  1993/04/12  03:15:41  syd
  36. .\" These patches makes 'T' (since it was free) do a Tag and Move command in the
  37. .\" index and alias page, and in the builtin pager.
  38. .\" In the alias help in src/alias.c, there is a tolower done on the character
  39. .\" one wants help for.  This is clearly wrong.
  40. .\" From: Jan Djarv <Jan.Djarv@sa.erisoft.se>
  41. .\"
  42. .\" Revision 5.20  1993/04/12  01:44:20  syd
  43. .\" Update for quotes
  44. .\" From: dwolfe@pffft.sps.mot.com (Dave Wolfe)
  45. .\"
  46. .\" Revision 5.19  1993/01/27  20:57:47  syd
  47. .\" Corrections to PL21 Alpha docs and consistent punctuation use in help files.
  48. .\" From: dwolfe@pffft.sps.mot.com (Dave Wolfe)
  49. .\"
  50. .\" Revision 5.18  1993/01/20  04:01:07  syd
  51. .\" Adds a new integer parameter builtinlines.
  52. .\" if (builtinlines < 0) and (the length of the message < LINES on
  53. .\"       screen + builtinlines) use internal.
  54. .\" if (builtinlines > 0) and (length of message < builtinlines)
  55. .\"     use internal pager.
  56. .\" if (builtinlines = 0) or none of the above conditions hold, use the
  57. .\" external pager if defined.
  58. .\" From: "John P. Rouillard" <rouilj@ra.cs.umb.edu>
  59. .\"
  60. .\" Revision 5.17  1993/01/19  04:52:19  syd
  61. .\"     add c)hange alias command to alias helpfile
  62. .\"     if a deleted alias is changed, undelete it.  Also added the 'N'
  63. .\" flag to changed aliases to help remind the user.  Documented it.
  64. .\" Note:  if they mark the alias for deletion AFTER making the change it
  65. .\" WILL be deleted. (and marked accordingly)
  66. .\"     modified alias mode title string to indicate when a resync was
  67. .\" needed.
  68. .\"     allow editing alias file when none exist.
  69. .\"     Now aliases are check for illegal characters (and WS) and
  70. .\" addresses are check for illegal WS when they are being entered.  If
  71. .\" anything illegal is found and message is printed and they keep entering
  72. .\" the item until they get it right.
  73. .\"     I fixed a couple of places where int should be long to match
  74. .\" the declared type of alias_rec.length
  75. .\" From: "Robert L. Howard" <robert.howard@matd.gatech.edu>
  76. .\"
  77. .\" Revision 5.16  1992/12/24  23:48:05  syd
  78. .\" make Nroff not use co symbol, just the word
  79. .\" From: Syd via request from Tim Pierce
  80. .\"
  81. .\" Revision 5.15  1992/12/20  05:22:13  syd
  82. .\" Fix formatting and typograpical problems
  83. .\" From: dwolfe@pffft.sps.mot.com (Dave Wolfe)
  84. .\"
  85. .\" Revision 5.14  1992/12/20  05:06:19  syd
  86. .\" Here are the doc changes for my additions to the alias system and
  87. .\" the new switches to listalias.
  88. .\" From: "Robert L. Howard" <robert.howard@matd.gatech.edu>
  89. .\"
  90. .\" Revision 5.13  1992/12/12  01:27:41  syd
  91. .\" Make verb and pronoun agree.
  92. .\" From: dwolfe@pffft.sps.mot.com (Dave Wolfe)
  93. .\"
  94. .\" Revision 5.12  1992/12/07  02:41:21  syd
  95. .\" This implements the use of SIGUSR1 and SIGUSR2 as discussed on the
  96. .\" mailing list recently, and adds them to the documentation.
  97. .\" From: scs@lokkur.dexter.mi.us (Steve Simmons)
  98. .\"
  99. .\" Revision 5.11  1992/11/07  19:37:21  syd
  100. .\" Enhanced printing support.  Added "-I" to readmsg to
  101. .\" suppress spurious diagnostic messages.
  102. .\" From: chip@chinacat.unicom.com (Chip Rosenthal)
  103. .\"
  104. .\" Revision 5.10  1992/11/07  16:31:15  syd
  105. .\" another typo (2.4.6 Ref.guide)
  106. .\" From: David.W.Tamkin@gagme.chi.il.us (David W. Tamkin)
  107. .\"
  108. .\" Revision 5.9  1992/10/30  20:56:37  syd
  109. .\" Things I found in doc/Ref.guide looking over patches 4 & 5:
  110. .\" From: dwolfe@pffft.sps.mot.com (Dave Wolfe)
  111. .\"
  112. .\" Revision 5.8  1992/10/24  13:53:16  syd
  113. .\" I think all these are typos
  114. .\" From: dwolfe@pffft.sps.mot.com (Dave Wolfe)
  115. .\"
  116. .\" Revision 5.7  1992/10/24  13:44:41  syd
  117. .\" There is now an additional elmrc option "displaycharset", which
  118. .\" sets the charset supported on your terminal. This is to prevent
  119. .\" elm from calling out to metamail too often.
  120. .\" Plus a slight documentation update for MIME composition (added examples)
  121. .\" From: Klaus Steinberger <Klaus.Steinberger@Physik.Uni-Muenchen.DE>
  122. .\"
  123. .\" Revision 5.6  1992/10/24  13:25:41  syd
  124. .\" In our global elm.rc I keep the four options as below
  125. .\"
  126. .\"     confirmappend = OFF    Don't confirm every append to any file.
  127. .\"     confirmcreate = ON    Confirm creation of every new file.
  128. .\"     confirmfiles = ON    Confirm append to non folder files though.
  129. .\"     confirmfolders = ON    In case someone does not want to be asked
  130. .\"                 every time when creating a new file try
  131. .\"                 to confirm creation of folders though.
  132. .\" From: Jukka Ukkonen <ukkonen@csc.fi>
  133. .\"
  134. .\" Revision 5.5  1992/10/17  22:58:57  syd
  135. .\" patch to make elm use (or in my case, not use) termcap/terminfo ti/te.
  136. .\" From: Graham Hudspith <gwh@inmos.co.uk>
  137. .\"
  138. .\" Revision 5.4  1992/10/17  22:01:01  syd
  139. .\" corrected typos
  140. .\" From: David.W.Tamkin@gagme.chi.il.us (David W. Tamkin)
  141. .\"
  142. .\" Revision 5.3  1992/10/11  01:33:36  syd
  143. .\" fixed a bug in the .lp macro in doc/tmac.n.  The lp macros is always
  144. .\" called with a unit specified for the second argument, however, the
  145. .\" macro added a "n" unit specifier to that argument.  The following patch
  146. .\" fixes this problem.
  147. .\"
  148. .\" The various .guide books use the troff .tl macro liberally, but often the
  149. .\" extra ' characters needed at the end of the lines to explicitly specify
  150. .\" the trailing nulls fields were left off.  The following patch fixes the
  151. .\" erroneous lines.
  152. .\" From: Larry Philps <larryp@sco.COM>
  153. .\"
  154. .\" Revision 5.2  1992/10/04  01:15:43  syd
  155. .\" Emphasize that hostdomain, hostname and hostfullname must all be specified
  156. .\" if one is specified in elmrc file.
  157. .\"
  158. .\" Revision 5.1  1992/10/03  20:51:50  syd
  159. .\" Initial checkin as of 2.4 Release at PL0
  160. .\"
  161. .\"
  162. .\"
  163. .po 1i
  164. .ds h0
  165. .ds h1
  166. .ds h2
  167. .ds f0
  168. .ds f1
  169. .ds f2
  170. .nr Hy 1
  171. .nr Pt 1
  172. .nr Pi 0
  173. .lg 0
  174. .nf
  175. .na
  176. .rs
  177. .za
  178. .sv |3.0i
  179. .ce 99
  180. .ps 20
  181. .ss 18
  182. .vs 12
  183. \f3The Elm Reference Guide\f1
  184. .sp 4
  185. .ps 12
  186. .ss 14
  187. .vs 14
  188. \f2A comprehensive list of all commands,
  189. options and such to the \f3Elm\fP mail system\f1
  190. .sp 3
  191. The Elm Mail System
  192. (Version 2.4)
  193. .sp 2
  194. Syd Weinstein, Elm Coordinator
  195. Datacomp Systems, Inc.
  196. 3837 Byron Road
  197. Huntingdon Valley, PA 19006-2320
  198. .sp
  199. email: elm\s-1@\s+1DSI.COM  or  dsinc\s-1!\s+1elm
  200. .sp |9.0i
  201. \s18\f3\*(ct\f1\s12 Copyright 1986,1987 by Dave Taylor
  202. \s18\f3\*(ct\f1\s12 Copyright 1988-1992 by The USENET Community Trust
  203. .fi
  204. .ad
  205. .bp 1
  206. .sv 5v
  207. .ce 99
  208. .ps 14
  209. .vs 16
  210. \f3The Elm Reference Guide\f1
  211. .ds h0 "Elm Reference Guide
  212. .ds h1
  213. .ds h2 "Version 2.4
  214. .ds f0 "October 1, 1992
  215. .ds f1
  216. .ds f2 "Page %
  217. .sp
  218. .ps 10
  219. .ss 12
  220. .vs 12
  221. (The Elm Mail System, \*(h2)
  222. .sp
  223. \*(f0
  224. .sp 2
  225. Syd Weinstein
  226. Datacomp Systems, Inc.
  227. 3837 Byron Road
  228. Huntingdon Valley, PA 19006-2320
  229. .sp
  230. email: elm\s-1@\s+1DSI.COM  or  dsinc\s-1!\s+1elm
  231. .sp 2
  232. Derived from
  233. \*QThe Elm Mail System, Version 2.0\*U
  234. by
  235. Dave Taylor
  236. Intuitive Systems
  237. Mountain View, California
  238. email: taylor\s-1@\s+1intuitive.com  or  limbo\s-1!\s+1taylor
  239. .ce 0
  240. .sp 3
  241. .hn 1 Introduction
  242.  
  243. There are many parts to a complex software system and \f3The Elm
  244. Mail System\f1
  245. is no different.  This document describes fully all the options
  246. available in the mailer, including the command line options,
  247. the commands (in considerably more detail than
  248. in \f2The Elm Users Guide\f1) and
  249. the \f2.elm/elmrc\f1 file.
  250.  
  251. To be more explicit, this document covers:
  252. a discussion of
  253. the \f2.elm/elmrc\f1 file,
  254. command line options of Elm,
  255. outgoing mail processing,
  256. responses of various commands,
  257. mail archive folders,
  258. the Alias system,
  259. system aliases etc,
  260. more on the Elm utilities,
  261. and a section for expert mail users.
  262.  
  263. Without any further ado, then, let's get this show on the road!!
  264. .sp
  265. .ne 8    \" footnote for UNIX forces text to next page but leaves footnote & hdr
  266. .hn 1 "The .elm/elmrc File"
  267.  
  268. Elm, like lots of other software on the
  269. .ux
  270. system, has the ability to automatically read
  271. in a configuration file at each invocation.  The file must be
  272. called \f2elmrc\f1 and reside in the \f2.elm\f1 directory located
  273. in your home directory.  It can have any of the entries below, in any order.
  274. If you are missing any entries, or if you don't have an \f2.elm/elmrc\f1
  275. file, the default values (listed below for each option) or those values specified
  276. by your systems administrator in a system wide \f2elm.rc\f1 file are used.
  277. Note that those options below designated with \*q*\*u can be altered
  278. using Elm via the options screen, while those designated with a
  279. \*q+\*u can be placed
  280. on the options screen using the \f3configoptions\f1 variable.
  281. Also note that when you save a new \f2.elm/elmrc\f1 file via the \*q>\*u command
  282. of the options
  283. screen, it is (re)created including only those options that you
  284. have changed via your original \f2.elm/elmrc\f1 file or via the options screen.
  285.  
  286. The format for each line of the \f2.elm/elmrc\f1 file is:
  287. .sp
  288. .nf
  289. .ft CW
  290. .zf
  291. .ti +.5i
  292. variable = value\f1
  293. .fi
  294. .sp
  295. .ne 8
  296. .hu String Variables
  297.  
  298. .lp aliassortby* 1.0i
  299. You can have your alias display sorted by any of the following ways:
  300. .si 1.5i
  301. .lp alias 10n
  302. Sorts according to \f2aliasname\f1 for each address.
  303. .lp name 10n
  304. Sorts according to \f2username\f1 for each address.
  305. .lp text 10n
  306. Presents the aliases in the order found in the
  307. \f2aliases.text\f1 file.
  308. .ei
  309. .in 1.0i    \" ei doesn't restore margin
  310. .sp
  311. Each of these fields can also optionally be prepended with the
  312. sequence \*Qreverse\-\*U to reverse the order of the sort.  This doesn't
  313. imply anything about the order of the message in the \f2aliases.text\f1
  314. file itself and affects only their order on the display screen.  The
  315. default is \f2name\f1 order.
  316.  
  317. .lp alteditor+ 1.0i
  318. The editor to use when mailing to a message that already includes text,
  319. as the builtin editor cannot handle that situation.  Messages that
  320. already include text are forwarded messages and replies where the
  321. original message is included in the reply.  This value is not needed
  322. if the \f3editor\f1 variable is not set to \*Qbuiltin\*U.
  323.  
  324. .lp alternatives 1.0i
  325. This is a list of other machine/username combinations
  326. that you receive mail from (forwarded).  This is used
  327. when the \f2group reply\f1 feature is invoked to ensure that
  328. you don't send yourself a copy of the outbound message.
  329. The default is a list of no alternatives.
  330.  
  331. .lp attribution 1.0i
  332. When you \f3forward\f1 a message or \f3reply\f1 to it, you can
  333. optionally attribute the quoted text to its original author.
  334. Defining the attribution string here allows you to indicate the
  335. form that the attribution should take.  The sequence \*Q%s\*U in the
  336. attribution is replaced by the name of the original author.
  337. Examples are:
  338. .sp
  339. .nf
  340. .in 1.5i
  341. .ft CW
  342. .zf
  343. attribution = According to %s:
  344. attribution = %s writes:
  345. .ft 1
  346. .in 0
  347. .fi
  348.  
  349. .lp calendar* 1.0i
  350. This is used in conjunction with the \*q<\*u \f2scan message for
  351. calendar entries\f1 command, as the file to append any found
  352. calendar entries to.  The default is \f2calendar\f1 in your home directory.
  353.  
  354. .lp charset 1.0i
  355. This is the character set used for messages with a
  356. \*QContent-Type: text/plain\*U header.
  357. The default depends on your site's installation, but is usually
  358. US-ASCII. \f3charset\f1 is only recognized if MIME
  359. (Multipurpose Internet Mail Extension)
  360. support is configured. You could set \f3charset\f1 to your preferred
  361. national character set, but be aware that there is currently no way
  362. to change it online. Also you must be aware that Elm probably needs
  363. \f2metamail\f1 to display messages with \f3charset\f1=US-ASCII if you change
  364. \f3charset\f1. Elm tries to know which character set could display US-ASCII
  365. too, but its list of compatible character sets is probably not complete.
  366.  
  367. .lp displaycharset 1.0i
  368. This is the character set which is supported by your terminal.
  369. The default depends on your site's installation but is usually
  370. US-ASCII. For sites with
  371. .xw
  372. support, ISO-8859-1
  373. is a reasonable default.
  374.  
  375. .lp compatcharsets 1.0i
  376. This is the list of character sets which are more or less a superset
  377. of US-ASCII. This enables Elm to display messages with \f3charset\f1=US-ASCII
  378. with the builtin pager, or your preferred pager, instead of calling
  379. \f2metamail\f1. \f3compatcharsets\f1 is only recognized if MIME support
  380. is configured. The ISO-8859-X character sets are defaulted.
  381.  
  382. .lp configoptions 1.0i
  383. This is a list of letters that indicate which of the run-time
  384. configurable options you desire placed on the options screen (see
  385. section 7, \f3Commands\f1, for the \f3options\f1 command).  There
  386. are 22 run-time configurable options, but only room for 15 on a
  387. 24-line screen.  The default list is \f2^_cdefsopyv_am_un\f1.  Two
  388. additional characters can be specified for formatting.  Those are \*q_\*u, which
  389. adds a blank line, and \*q^\*u, which places the title message on that line
  390. instead of the bottom of the screen.  The
  391. letters \*qi\*u, \*qq\*u, and \*qx\*u are reserved for \*Qreturn to
  392. index\*U, \*Qquit\*U,
  393. and \*Qexit\*U, respectively, and are not listed as part of the
  394. \f3configoptions\f1
  395. list.  The options controlled by each letter are:
  396. .sp
  397. .in 1.5i
  398. .ta 0.5i
  399. a    A)rrow cursor \f2(arrow)\f1
  400. .br
  401. b    B)order on copy \f2(prefix)\f1
  402. .br
  403. c    C)alendar file \f2(calendar)\f1
  404. .br
  405. d    D)isplay mail using \f2(pager)\f1
  406. .br
  407. e    E)ditor (primary) \f2(editor)\f1
  408. .br
  409. f    F)older directory \f2(maildir)\f1
  410. .br
  411. h    H)old sent message \f2(copy)\f1
  412. .br
  413. j    J) reply editor \f2(alteditor)\f1
  414. .br
  415. k    K) pause after pager \f2(promptafter)\f1
  416. .br
  417. l    A(l)ias Sorting \f2(aliassortby)\f1
  418. .br
  419. m    M)enu display \f2(menu)\f1
  420. .br
  421. n    N)ames only \f2(names)\f1
  422. .br
  423. o    O)utbound mail saved \f2(sentmail)\f1
  424. .br
  425. p    P)rint mail using \f2(print)\f1
  426. .br
  427. r    R)eply copies msg \f2(autocopy)\f1
  428. .br
  429. s    S)orting criteria \f2(sortby)\f1
  430. .br
  431. t    T)ext editor (~e) \f2(easyeditor)\f1
  432. .br
  433. u    U)ser level \f2(userlevel)\f1
  434. .br
  435. v    V)isual Editor (~v) \f2(visualeditor)\f1
  436. .br
  437. w    W)ant Cc: prompt \f2(askcc)\f1
  438. .br
  439. y    Y)our full name \f2(fullname)\f1
  440. .br
  441. z    Z) signature dashes \f2(sigdashes)\f1
  442.  
  443. .lp easyeditor+ 1.0i
  444. The editor to be used by the \*Q~e\*U escape within the builtin editor.
  445. The default value is the value of the configuration variable \f2emacs_editor\f1
  446. (see \f2The Elm Configuration Guide\f1).
  447.  
  448. .lp editor* 1.0i
  449. The editor to use when typing in new mail.  If you select
  450. \*Qnone\*U or \*Qbuiltin\*U you'll get a Berkeley Mail style
  451. interface for all mail that doesn't already have text
  452. in the buffer (e.g. a reply, mail with a \*Qsignature\*U, etc.)
  453. There are two possible formats for it, either a command that
  454. can have a filename appended to it before being
  455. executed, or a string that contains the metasequence \*Q%s\*U
  456. which is replaced by the name of the file before being
  457. executed.  Examples of each are:
  458.  
  459. .nf
  460. .in 1.5i
  461. .ft CW
  462. .zf
  463. editor = emacs \-nw
  464. editor = emacs \-nw %s \-f text-mode \-f turn-on-auto-fill
  465. .ft 1
  466. .in 1.0i
  467. .fi
  468.  
  469. The default is to use the value of $EDITOR in your
  470. current environment, and if not set, an editor selected by
  471. the person who configured Elm for your system.
  472.  
  473. .lp escape 1.0i
  474. The character used with the builtin editor (see \f3editor\f1 above)
  475. to escape from text entry to input a command.
  476. When a line begins with this character, the builtin editor interprets it
  477. as a command rather than as text to add.
  478. The default is \*q~\*u (tilde).
  479.  
  480. .lp fullname* 1.0i
  481. This is the name the mailer uses in messages
  482. you send.  It is highly recommended that you use your
  483. full name and nothing strange or unusual, as that can
  484. appear extremely rude to people receiving your mail.
  485. The default is to use the \*Qgcos\*U field from the \f2/etc/passwd\f1 file
  486. on systems that use this field to store full names, and to use the contents
  487. of the \f2.\|fullname\f1 file in your home directory on other systems.
  488.  
  489. .lp hostdomain 1.0i
  490. This is the domain name of your system.
  491. This variable is only valid in the system-wide \f2elm.rc\f1 file.
  492. It is only necessary if the value returned by
  493. the \f2getdomainname\f1 system call is incorrect for your mail use or
  494. if that system call is unavailable on your system.
  495. If this variable is specified, then the \f3hostfullname\f1 variable must
  496. also be specified.
  497.  
  498. .lp hostfullname 1.0i
  499. This is the \*Qfully qualified domain name\*U of your system.
  500. This variable is only valid in the system-wide \f2elm.rc\f1 file.
  501. It is only necessary if the value returned by the \f2getdomainname\f1 and
  502. \f2gethostname\f1 system calls are incorrect for your mail use or if those
  503. system calls are unavailable on your system.  It is required if either
  504. the \f3hostdomain\f1 or the \f3hostname\f1 variables are used within the
  505. system-wide \f2elm.rc\f1 file.
  506.  
  507. .lp hostname 1.0i
  508. This is the local node-name of your system.
  509. This variable is only valid in the system wide \f2elm.rc\f1 file.
  510. It is only necessary if the value returned by
  511. the \f2gethostname\f1 system call is incorrect for your mail use or if
  512. that system call is unavailable on your system.
  513. If this variable is specified, then the \f3hostfullname\f1 variable must
  514. also be specified.
  515.  
  516. .lp localsignature 1.0i
  517. See \f3signature\f1.
  518.  
  519. .lp maildir* 1.0i
  520. This is your folder directory.
  521. When you specify a folder name beginning with the \*q=\*u metacharacter,\s-2\u1\d\s0
  522. .fn
  523. 1. Note that \*q%\*u and \*q+\*u are synonymous with \*q=\*u throughout Elm.
  524. .ef
  525. it stands for this directory name.  That is,
  526. if you save a message to folder \f2=stuff\f1
  527. the \*q=\*u is expanded to the current value of \f3maildir\f1.
  528. The default is the directory \f2Mail\fP in your home directory.
  529.  
  530. .lp pager* 1.0i
  531. This is the program to be used to display messages.  You can
  532. specify \*Qbuiltin\*U or the name of any standard pager.  If you
  533. use \*Qbuiltin+\*U, each screenfull of displayed message is
  534. \*Qpaged\*U from the top of your screen with a title line,
  535. while \*Qbuiltin\*U simply \*Qscrolls up\*U subsequent screenfulls once
  536. it has \*Qpaged\*U the first screenfull.
  537. The default is to use the value of $PAGER in your
  538. current environment, and if not set, a pager selected by
  539. the person who configured Elm for your system, quite likely
  540. \*Qbuiltin+\*U.
  541.  
  542. .lp precedences 1.0i
  543. Some mail transports look at a \*QPrecedence\*U header in outbound
  544. mail messages to determine how to deliver the message.  The Elm header
  545. editing menu allows you to place a precedence on your mail messages.
  546. By default, Elm allows any value to be specified as the message
  547. precedence.  This option may be used to restrict the allowed precedences
  548. to a particular list.  For example, you might say:
  549.  
  550. .nf
  551. .in 1.5i
  552. .ft CW
  553. .zf
  554. precedences = special-delivery air-mail first-class bulk junk
  555. .ft 1
  556. .in 1.0i
  557. .fi
  558.  
  559. Exactly what precedences your mail transport supports and what they
  560. do (if anything at all!) will vary from site to site.
  561.  
  562. The distinction between the \*QPrecedence\*U and \*QPriority\*U headers
  563. is subtle:  the precedence tells the mail system how to handle the
  564. message and the priority tells the recipient how important the message
  565. is.  Although these are quite different things, they are often related.
  566. This option will also allow you to associate message priorities with
  567. precedences.  For example, you might say:
  568.  
  569. .nf
  570. .in 1.5i
  571. .ft CW
  572. .zf
  573. precedences = special-delivery:urgent air-mail:urgent first-class bulk junk
  574. .ft 1
  575. .in 1.0i
  576. .fi
  577.  
  578. In this example, if you select an \*Qair-mail\*U precedence then the
  579. message priority defaults to \*Qurgent\*U.  If you select a
  580. \*Qfirst-class\*U precedence then no special priority is implied.  The
  581. priorities given in this field are used only if you have not already
  582. assigned a priority to your message, and even if one is assigned via
  583. \f3precedences\f1 you can always go back and change it.
  584.  
  585. .lp prefix+ 1.0i
  586. When you \f3reply\f1 to a message or \f3forward\f1 a message to another person,
  587. you can optionally include the original message.  Defining the
  588. prefix value here allows you to indicate what the prefix of
  589. each included line should be.  The default is \*Q>\ \*U (specified as
  590. \*Q>_\*U \(em underscore is interpreted as space) and is
  591. standard in the
  592. .ux
  593. community.
  594.  
  595. .lp print* 1.0i
  596. This is the command used for printing mail messages.  There are two
  597. possible formats for the command, depending on whether or not the command
  598. contains the sequence \*Q%s\*U.  In the first form the mail message(s) to
  599. be printed are piped to the specified command.  An example of this
  600. form is:
  601. .sp
  602. .in 1.5i
  603. .ft CW
  604. .zf
  605. print = print \-formfeed
  606. .ft 1
  607. .in 1.0i
  608. .sp
  609. In the second form the mail message(s) to be printed are dumped into
  610. a temporary file, and a \*Q%s\*U in the command string is replaced with
  611. the name of the temporary file.  An example of this form is:
  612. .sp
  613. .in 1.5i
  614. .ft CW
  615. .zf
  616. print = pr %s | lpr
  617. .ft 1
  618. .in 1.0i
  619. .sp
  620. Another significant difference between the two forms is that in the
  621. second form all output from the command is discarded, but in the first
  622. form all output is displayed on the terminal.  For
  623. example, if you wish to use the \*Qpass-through\*U feature to print on
  624. the \*Qaux\*U port of a terminal, you must use the first form.  The second
  625. form is provided for backward compatibility with old versions of Elm.
  626. It is depreciated and might be removed in a future release.  The
  627. default is set by the person who configured Elm for your system.
  628.  
  629. .lp receivedmail 1.0i
  630. This is the folder to which incoming mail is saved after you've read it.
  631. When you answer \f2no\f1 to \*QKeep unread messages in
  632. your incoming mailbox?\*U or \f2yes\f1 to \*QStore read
  633. messages in your \*Qreceived\*U folder?\*U, this is where the messages go.
  634. The default is \*Q=received\*U, that is,
  635. a folder called \f2received\f1 in your \f3maildir\f1 directory.
  636.  
  637. .lp remotesignature 1.0i
  638. See \f3signature\f1.
  639.  
  640. .lp sentmail* 1.0i
  641. This is the folder to which a copy of outgoing mail is automatically
  642. saved.  This is only done if the \f3copy\f1 boolean variable is set
  643. ON.  Also note that if the \f3savename\f1 boolean variable is enabled
  644. then this folder may be ignored since the program may save to a folder
  645. that has the same name as the login of the person you're sending to.
  646. Whether or not a copy is saved, and to what folder, can be changed just
  647. prior to sending a message (see the \f3copy\f1 command of the mail
  648. command sub-menu in section 7, \f3Commands\f1).  The default is
  649. \*Q=sent\*U, that is, a folder called \f2sent\f1 in your \f3maildir\f1
  650. directory.
  651.  
  652. .lp shell 1.0i
  653. This defines the shell to use when doing \*q!\*u escapes and
  654. such.  The default is to use the value of $SHELL in your
  655. current environment, and if not set, a shell selected by
  656. the person who configured Elm for your system.
  657. Note that the \*q!\*u escape is optional and may not be enabled in your
  658. version of Elm.
  659.  
  660. .lp signature 1.0i
  661. This defines the file that is automatically appended to all
  662. outbound mail before the editor is invoked.  Furthermore,
  663. if you'd like a different signature file for \*Qlocal\*U
  664. mail and \*Qremote\*U mail (remote being via other hosts),
  665. you can alternatively define two variables, \f3localsignature\f1
  666. and \f3remotesignature\f1, to have the same functionality.
  667. The default is to not have signatures appended to your messages.
  668.  
  669. .lp sortby* 1.0i
  670. You can have your folder sorted in any of the following ways:
  671. .si 1.5i
  672. .lp from 10n
  673. Sorts according to whom each message is \f2from\f1.
  674. .lp lines 10n
  675. Sorts \f2shortest\f1 to \f2longest\f1 by message.
  676. .lp mailbox 10n
  677. Leaves the messages in the order found in the folder.
  678. .lp received 10n
  679. Sorts \f2least recently received\f1 to \f2most recently received\f1.
  680. .lp sent 10n
  681. Sorts \f2least recently sent\f1 to \f2most recently sent\f1.
  682. .lp status 10n
  683. Sorts by \f2priority\f1, \f2action\f1, \f2new\f1, \f2tagged\f1, then
  684. \f2deleted\f1.
  685. .lp subject 10n
  686. Sorts according to the \f2subject\f1 of each message.
  687. .ei
  688. .in 1.0i    \" ei doesn't restore margin
  689. .sp
  690. Each of these fields can optionally be prepended with the
  691. sequence \*Qreverse\-\*U to reverse the order of the sort.  This doesn't
  692. imply anything about the order of the messages in the folder
  693. itself and affects only their order on the index screen.  The
  694. default is \f2mailbox\f1 order.
  695.  
  696. .lp tmpdir 1.0i
  697. Use this if you want to define your own directory for the temporary
  698. file Elm creates while running.  This is only necessary if using the
  699. system temporary directory could cause problems, such as when not all
  700. NFS clients mount the common temporary directory, or when the temporary
  701. directory is prone to being cleared periodically.  The default entry
  702. of the system temporary directory is normally OK.
  703.  
  704. .lp visualeditor+ 1.0i
  705. The editor to be used by the \*Q~v\*U escape within the builtin editor.
  706. The default value is the value of the configuration variable \f2vi_editor\f1
  707. (see \f2The Elm Configuration Guide\f1).
  708.  
  709. .lp weedout 1.0i
  710. When specifying this option, you can list headers that
  711. you \f2don't\f1 want to see when you are displaying a message.
  712. This list can continue for as many lines as desired, as
  713. long as the continued lines all have leading indentation.
  714. All headers in this entry append to the default weedout list.
  715. There are two special header flags. The first, \*Q*clear-weed-list*\*U,
  716. clears the default list.  The second, \*Q*end-of-user-headers*\*U,
  717. terminates the entry, in case the following lines look like they
  718. might be more headers for the list.
  719. The default \f3weedout\f1 list includes the following header strings:
  720. .sp
  721. .in 1.5i
  722. .ft CW
  723. .zf
  724. .nf
  725. \&>From
  726. \&Apparently-To:
  727. \&Content-Length
  728. \&Content-Transfer-Encoding
  729. \&Content-Type:
  730. \&From
  731. \&In-Reply-To:
  732. \&MIME-Version
  733. \&Message-Id:
  734. \&Newsgroups:
  735. \&Received:
  736. \&References:
  737. \&Status:
  738. \&X-Mailer:
  739. .ft 1
  740. .in 0
  741. .fi
  742. .ne 8
  743. .hu Numeric Variables
  744.  
  745. .lp bounceback 1.0i
  746. This is a hop count threshold value and allows you to
  747. set up the mailer so that when you send mail more than
  748. \f2n\f1 machines away, it'll automatically include a
  749. \*QCc:\*U to you through the remote machine.  In practice
  750. this should be very rarely used.  Note that this refuses to
  751. bounce mail off an Internet address.  The default is to
  752. have it set to zero, which disables the function.
  753.  
  754. .lp builtinlines 1.0i
  755. This is used to determine if the builtin pager should be used on some
  756. messages even if you would usually use an external pager program.
  757. There are two ways of determining whether the builtin pager should be
  758. used. If you want any message that is shorter than \f2n\f1 lines to
  759. use the internal pager, set this variable to \f2n\f1.  If you want the
  760. builtin pager to be used if the message is \f2m\f1 lines shorter than
  761. the number of lines on your screen, set this variable to \f2\-m\f1.
  762. Setting this variable to zero will result in the message always being
  763. sent through your external pager.  This variable is used only if
  764. the pager is not set to the builtin pager.  The default is \-3.
  765.  
  766. .lp readmsginc 1.0i
  767. This variable modifies the display of the message \*QReading in
  768. \f2foldername\f1, message: #\*U, which is displayed when reading a new
  769. folder.  The message count is normally updated as
  770. each message in the folder is read.  If you are on a slow terminal and are
  771. reading a folder with a large number of messages, the time it takes to
  772. redraw the message count can significantly exceed the time it takes to
  773. simply read the folder.
  774. .sp
  775. The \f3readmsginc\f1 variable controls the frequency with which the
  776. message count is updated.  If this parameter is set to 50, the message
  777. count will be updated after every 50 messages (i.e., at 50, 100, 150,
  778. and so forth).  The default value for this parameter is 1.  If a value
  779. of less than 1 is specified for this parameter, the value is ignored,
  780. and the default value is used instead.
  781.  
  782. .lp sleepmsg 1.0i
  783. This variable modifies the time Elm waits after displaying a transient
  784. message before erasing it and continuing.  It can be set to zero to
  785. suppress the wait entirely.  It is in units of whole seconds.
  786.  
  787. .lp timeout 1.0i
  788. On more advanced systems, it's nice to start up the
  789. mailer in a window and let it sit in background
  790. until new mail arrives (see \f2wnewmail\f1 for
  791. another window based program), at which point
  792. it can be brought up to the forefront of the system
  793. and read.  In this case, it would be quite convenient
  794. to have the mailer internally resynchronize every
  795. so often.  This option specifies the number of seconds that this occurs.
  796. .sp
  797. This is also useful for non-windowing terminals.  For example, you can
  798. leave Elm running at night (I usually do) and when you
  799. come in in the morning it'll be all ready to read your mail!
  800. .sp
  801. The default is a 300 second (5 minute) timeout period.
  802.  
  803. .lp userlevel* 1.0i
  804. This is what the program uses to determine the relative level of
  805. sophistication of the user.  The values are \*q0\*u for a new user (the
  806. default), \*q1\*u for someone familiar with Elm,
  807. and \*q2\*u for experts.  Some advanced features are hidden from novice
  808. users, while experts get less verbose prompt messages.
  809. The default is \*q0\*u.
  810. .br
  811. .ne 8
  812. .hu Boolean Variables
  813.  
  814. The value assigned to boolean variables can be \*QON\*U or \*QOFF\*U only.
  815.  
  816. .lp alwaysdelete 1.0i
  817. Set ON to set the default answer to the \*QDelete messages?\*U prompt
  818. to \f2yes\f1 (see the \f3quit\f1 command in section 7, \f3Commands\f1,
  819. and the \f3ask\f1 variable below). This default answer also applies to
  820. deletions from the alias system.  The default for \f3alwaysdelete\f1 is
  821. OFF.
  822.  
  823. .lp alwayskeep 1.0i
  824. Set ON to set the default answer to the \*QKeep unread mail in incoming
  825. mailbox?\*U prompt to \f2yes\f1.  However, if you set \f3alwaysstore\f1
  826. OFF or answer \f2no\fP to the \*QStore read mail in \*Qreceived\*U
  827. folder?\*U prompt, it is presumed that you also want to keep your
  828. unread mail in the incoming mailbox, so the value of \f3alwayskeep\f1
  829. is ignored in those cases. See the \f3quit\f1 command in section 7,
  830. \f3Commands\f1, and the \f3ask\f1 and \f3alwaysstore\f1 variables
  831. below for more details.  The default for \f3alwayskeep\f1 is ON.
  832.  
  833. .lp alwaysstore 1.0i
  834. Set ON to set the default answer to the \*QStore read mail in
  835. \*Qreceived\*U folder?\*U prompt to \f2yes\f1 (see the \f3quit\f1
  836. command in section 7, \f3Commands\f1, and the \f3ask\f1 variable
  837. below).  The default for \f3alwaysstore\f1 is OFF.
  838.  
  839. .lp arrow* 1.0i
  840. Sometimes you are forced to use a slow or \*Qdumb\*U terminal.  Set ON
  841. to make the current message pointer the \*Q\->\*U sequence rather than
  842. the inverse bar.  Note that this is overridden by the \*Q\-a\*U command
  843. line option (see section 3, \f3Command Line Options\f1).  The default
  844. is OFF.
  845.  
  846. .lp ask 1.0i
  847. Set OFF to tell Elm that you'd rather not be asked \*QDelete
  848. messages?\*U and such each time you quit, resynchronize, change
  849. folders, or return from the alias system, but that it should just use
  850. the values of \f3alwaysdelete\f1, \f3alwaysstore\f1, and
  851. \f3alwayskeep\f1 without prompting.  Note that when you quit \f3Elm\fP,
  852. if you use \*qQ\*u instead of \*qq\*u, you will never be questioned,
  853. regardless of how you have \f3ask\f1 set.  See the \f3quit\f1 commands
  854. in section 7, \f3Commands\f1, and the \f3alwaysdelete\f1,
  855. \f3alwayskeep\f1, and \f3alwaysstore\f1 variables above for more
  856. details.  The default for \f3ask\f1 is ON.
  857.  
  858. .lp askcc+ 1.0i
  859. Set OFF to allow sending mail without being presented the \*QCopies
  860. to:\*U prompt for each message. This still allows you to explicitly
  861. include addresses in the \*QCc:\*U list via either the header editor or
  862. \*Q~c\*U in the builtin editor (see section 8, \f3Using Elm with
  863. \*Qeditor = none\*U\f1).  The default is ON.
  864.  
  865. .lp autocopy+ 1.0i
  866. Set ON for Elm to automatically copy the text of each message
  867. replied to into the edit buffer.  Otherwise you will be prompted as to
  868. whether you want the message included in your reply. See the
  869. \f3prefix\f1 variable under \f3String Variables\f1 in section 2 for how
  870. copied text is marked.  The default for \f3autocopy\f1 is OFF.
  871.  
  872. .lp confirmappend 1.0i
  873. Set ON to make Elm ask for permission
  874. to append messages to the end of any file that already exists.
  875. Whether the file is a mail folder in the user's mail directory
  876. or an ordinary file makes no difference.
  877. The default is OFF.
  878.  
  879. .lp confirmcreate 1.0i
  880. Set ON to make Elm ask for permission before it creates
  881. a new file to store messages in.
  882. It makes no difference whether the new file would be a mail
  883. folder in the user's mail directory or an ordinary file.
  884. The default is OFF.
  885.  
  886. .lp confirmfiles 1.0i
  887. This allows you to have some last resort control over Elm when a
  888. message would be appended (by copy, save, or auto-cc) to an existing
  889. file which is not a folder in your mail directory (see the
  890. \f3maildir\f1 variable under \f3String Variables\f1 in section 2).  Set ON
  891. to make Elm ask for permission to append a message to the end of
  892. an ordinary file, otherwise it silently adds the message to the end of
  893. the specified file whether it is a folder or not.  The default is OFF.
  894.  
  895. .lp confirmfolders 1.0i
  896. Set ON to make Elm ask before creating new mail folders in your
  897. mail directory (see the \f3maildir\f1 variable under \f3String
  898. Variables\f1 in section 2), otherwise it silently creates new mail folders
  899. whenever a copy of a message is going to be stored in a folder that
  900. does not already exist.  See the \f3copy\f1, \f3savename\f1, and
  901. \f3forcename\f1 variables below for additional information about
  902. copying messages.  The default for \f3confirmfolders\f1 is OFF.
  903.  
  904. .lp copy+ 1.0i
  905. Set ON to have silent copies made of all outgoing mail.  Where the copy
  906. of the message is saved is determined by the \f3maildir\f1 and
  907. \f3sentmail\f1 string variables and the \f3savename\f1 and
  908. \f3forcename\f1 boolean variables.  Whether a copy is saved and to
  909. which folder can also be set prior to sending a message \(em see the
  910. \f3copy\f1 command of the mail command sub-menu in section 7,
  911. \f3Commands\f1, for details.  The default for \f3copy\f1 is OFF.
  912.  
  913. .lp forcename 1.0i
  914. Set ON to force creation of folders for copies of outbound mail by the
  915. recipient name.  For complete details of how to enable automatic
  916. copying of outbound messages, see the \f3copy\f1 and \f3savename\f1
  917. boolean variables.  The default is OFF.
  918.  
  919. .lp forms 1.0i
  920. Set ON to enable the generation of \*Qforms\*U type messages.  See the
  921. \f2Elm Forms Mode Guide\f1 for further information about mail forms.
  922.  
  923. .lp keepempty 1.0i
  924. The mail system has a habit of deleting folders when you've removed
  925. everything from them.  Set ON to preserve empty folders as zero-length
  926. files.  Note that this option does not apply to your incoming mailbox.
  927. The default is OFF.
  928.  
  929. .lp keypad 1.0i
  930. Set ON to indicate that you have an HP terminal and want the
  931. \f2<NEXT>\f1, \f2<PREV>\f1, \f2<HOME>\f1 and \f2<SHIFT-HOME>\f1 keys enabled.
  932. The default is OFF.
  933.  
  934. .lp menu* 1.0i
  935. Set OFF to inhibit the menu display on all screen displays within
  936. Elm.  Note that this is overridden by the \*Q\-m\*U command line
  937. option (see section 3, \f3Command Line Options\f1).  The default is
  938. ON.
  939.  
  940. .lp metoo 1.0i
  941. Set ON to get a copy of mail you send to a mailing list you are on,
  942. otherwise you do not get a copy of such messages.  The default is OFF.
  943.  
  944. .lp names* 1.0i
  945. Set OFF to display the primary recipients' addresses on your screen
  946. with their full names when you send a message.  Set ON to display only
  947. the full names.  The default is ON.
  948.  
  949. .lp movepage 1.0i
  950. Set ON to enable commands that move through the folder by pages (see
  951. the \*q+\*u, \*q\-\*u, \f2<right>\f1, and \f2<left>\f1 keys in section
  952. 7, \f3Commands\f1) to move the current message pointer to the top of
  953. that page of messages.  Set OFF to not alter the current message
  954. pointer location when moving through pages.  The default is OFF.
  955.  
  956. .lp noheader 1.0i
  957. Set ON to not include the headers of messages when copying a message
  958. into the edit buffer for replying or forwarding (see the \f3autocopy\f1
  959. variable above).  The default is ON.
  960.  
  961. .lp pointnew 1.0i
  962. Set ON to cause the current message pointer to point to the first new
  963. message in your incoming mailbox when started, instead of at message #1
  964. of the index.  This has no effect for other folders since they are not
  965. expected to have \*Qnew\*U mail.  The default is ON.
  966.  
  967. .lp promptafter+ 1.0i
  968. Set ON to display a command prompt rather than the index screen when
  969. exiting from an external pager.  This variable has no effect on the
  970. builtin pager.  See the \f3pager\f1 variable under \f3String Variables\f1
  971. in section 2 to specify which pager to use to read messages.
  972.  
  973. If your external pager immediately exits when it reaches the end of the
  974. message, you should set \f3promptafter\f1 ON so that the last screen of
  975. the displayed message is not immediately replaced by the index screen.
  976. If your external pager doesn't exit until you command it to, you have a
  977. choice.  If you usually want to see the index screen before issuing a
  978. command, setting this variable OFF eliminates the extra keystroke
  979. needed to return to the index screen.  If you usually don't need to see
  980. the index screen before issuing the next command, setting it ON allows
  981. you to enter your next command without waiting for the index screen to
  982. be redrawn.  The default is ON.
  983.  
  984. .lp resolve 1.0i
  985. Set ON to move the current message pointer to the next message on the
  986. index when a mail message is \*Qdealt with\*U through deleting,
  987. undeleting, saving, forwarding, etc. or set OFF to leave the current
  988. message pointer unchanged.  The default is ON.
  989.  
  990. .lp savename 1.0i
  991. One of the problems with electronic mail systems is that one tends to
  992. get very large, one-dimensional (flat) files that contain lots of
  993. completely unrelated mail.  Elm can use a more intelligent
  994. algorithm:  for incoming mail, when you \f3save\f1 or \f3copy\f1 it
  995. (see section 7, \f3Commands\f1), the default folder is the login name
  996. of the person who sent you the message (changed by pressing anything
  997. other than \f2<return>\f1 of course).  Similarly, when sending mail,
  998. instead of just blindly saving it to the \f3sentmail\f1 folder,
  999. Elm can save it to a folder that is the login name of the
  1000. recipient of the mail.\s-2\u2\d\s0
  1001. .fn
  1002. 2. When sending to a group, it's saved to the login name of the first
  1003. person in the list only.
  1004. .ef
  1005. Set \f3savename\f1 ON to enable this algorithm.
  1006.  
  1007. If \f3forcename\f1 is OFF (see above), the copy is saved to that folder
  1008. only if the folder already exists.  In practice, this means that
  1009. important people that you communicate with (those that you tend to save
  1010. mail from) have folders that are actually \f2a recorded log of the
  1011. discussion in both directions\f1 and others (random mailings) are all
  1012. stuffed in the \f3sentmail\f1 folder for easy perusal and removal (see
  1013. the \f3sentmail\f1 variable under \f3String Variables\f1 in section
  1014. 2).  If you always want to save copies of outgoing messages in separate
  1015. folders by recipient login name, you'll want to set \f3forcename\f1
  1016. ON.
  1017.  
  1018. The default for \f3savename\f1 is ON.
  1019.  
  1020. .lp sigdashes+ 1.0i
  1021. Set ON to tell Elm that you wish to follow the
  1022. convention of prefixing your signature with \*Q\f2newline dash dash
  1023. blank newline\f1\*U.  This is placed in your message before your
  1024. signature file (see the \f3signature\f1, \f3localsignature\f1, and
  1025. \f3remotesignature\f1 variables under \f3String Variables\f1 in section 2).
  1026. If OFF, the signature file, if any, is placed at
  1027. the end of the message without any prefix.  The default is ON.
  1028.  
  1029. .lp softkeys 1.0i
  1030. Set ON to tell Elm that you have an HP terminal with the
  1031. HP 2622 function key protocol and that you'd like to have the function
  1032. keys available while in the program.  The default is OFF.
  1033.  
  1034. .lp titles 1.0i
  1035. Set ON to have the first line of a message titled with:
  1036. .sp
  1037. .ft CW
  1038. .zf
  1039. .ps 9
  1040. .nf
  1041. .tl '           Message \f2N/M\fP from \f2username\fP''\f2date\fP at \f2time\f1      '
  1042. .fi
  1043. .ps 10
  1044. .ft 1
  1045. .sp
  1046. where all the information is extracted from the message.
  1047. This is especially useful if you weed out all the headers of each
  1048. message with a large \f3weedout\f1 list (see the \f3weedout\f1 variable
  1049. under \f3String Variables\f1 in section 2).
  1050. The default is ON.
  1051.  
  1052. .lp usetite 1.0i
  1053. Set ON to enable use of the \f2termcap/terminfo\f1
  1054. \f3ti/te\f1 capabilities.
  1055. Many terminal emulators require it (not the least of which is the
  1056. OpenLook \f2cmdtool\f1).
  1057. Some terminal emulators clear the screen on \f3te\f1 (some \f2xterm\f1s).
  1058. Set OFF to disable use of \f3ti/te\f1.
  1059. Note that this is overridden by the \*Q\-t\*U command line option
  1060. (see section 3, \f3Command Line Options\f1).  The default is ON.
  1061.  
  1062. .lp weed 1.0i
  1063. Set ON to have Elm \*Qweed out\*U certain headers from displayed
  1064. messages, that is, not display them.  The \f3weedout\f1 variable under
  1065. \f3String Variables\f1 in section 2 allows you to custom define the set of
  1066. headers you would like to not have displayed while reading messages.
  1067. The default for the \f3weed\f1 variable is ON.
  1068. .in 0
  1069. .sp
  1070. .sp
  1071. For a better idea of how this all works, here's my \f2.elm/elmrc\f1
  1072. file.  While looking through it, notice that you can have lots of
  1073. comments and blank lines for readability and that you can also use
  1074. \*Qshell variables\*U and the \*q~\*u (tilde) metacharacter for your home
  1075. directory, and they are expanded accordingly when read in by the
  1076. mailer.  Note that this was automatically saved by the Elm
  1077. program on the fly from the options screen.
  1078. .sp
  1079. .ft CW
  1080. .zf
  1081. .nf
  1082.   #
  1083.   # .elm/elmrc \- options file for the ELM mail system
  1084.   #
  1085.   # Saved automatically by ELM 2.4 for Dave Taylor
  1086.   #
  1087.  
  1088.   # For yes/no settings with ?, ON means yes, OFF means no
  1089.  
  1090.   # where to save calendar entries
  1091.   calendar = ~/.Agenda
  1092.  
  1093.   # what editor to use ("none" means simulate Berkeley Mail)
  1094.   editor = none
  1095.  
  1096.   # the character to use in the builtin editor for entering commands
  1097.   escape = ~
  1098.  
  1099.   # the full user name for outbound mail
  1100.   fullname = Dave Taylor
  1101.  
  1102.   # where to save received messages to, default file is "=received"
  1103.   receivedmail = $HOME/Mail/received
  1104.  
  1105.   # where to save my mail to, default directory is "Mail"
  1106.   maildir = /users/taylor/Mail
  1107.  
  1108.   # program to use for displaying messages (\'builtin\' is recommended)
  1109.   pager = builtin
  1110.  
  1111.   # prefix sequence for indenting included message text in outgoing messages...
  1112.   prefix = >_
  1113.  
  1114.   # how to print a message (\'%s\' is the filename)
  1115.   print = lpr \-Plw2 %s
  1116.  
  1117.   # where to save copies of outgoing mail to, default file is "=sent"
  1118.   sentmail = /users/taylor/Mail/mail.sent
  1119.  
  1120.   # the shell to use for shell escapes
  1121.   shell = /bin/csh
  1122.  
  1123.   # local ".signature" file to append to appropriate messages...
  1124.   localsignature = localsig
  1125.  
  1126.   # remote ".signature" file to append to appropriate messages...
  1127.   remotesignature =  remotesig
  1128.  
  1129.   # do we want dashes above signatures? (News 2.11 compatibility and convention)
  1130.   sigdashes = ON
  1131.  
  1132.   # how to sort folders, "Mailbox" by default
  1133.   sortby = Reverse\-Received
  1134.  
  1135.   # how to sort the alias list, "Name" by default
  1136.   aliassortby = Name
  1137.  
  1138.   # should the default be to delete messages we\'ve marked for deletion?
  1139.   alwaysdelete = ON
  1140.  
  1141.   # should the default be to store read messages to the "received" folder?
  1142.   alwaysstore = ON
  1143.  
  1144.   # should the default be to keep unread messages in the incoming mailbox?
  1145.   alwayskeep = ON
  1146.  
  1147.   # should we use the "\->" rather than the inverse video bar?
  1148.   arrow = OFF
  1149.  
  1150.   # should the message disposition questions be displayed (ON) or
  1151.   # auto\-answered (OFF) with the default answers when we resync or change folders?
  1152.   ask = ON
  1153.  
  1154.   # would you like to be asked for Carbon\-Copies information each msg?
  1155.   askcc = ON
  1156.  
  1157.   # automatically copy message being replied to into buffer?
  1158.   autocopy = OFF
  1159.  
  1160.   # threshold for bouncing copies of remote uucp messages...
  1161.   # zero = disable function.
  1162.   bounceback = 0
  1163.  
  1164.   # save a copy of all outbound messages?
  1165.   copy = ON
  1166.  
  1167.   # do we want to be able to mail out AT&T Mail Forms?
  1168.   forms = OFF
  1169.  
  1170.   # should we keep folders from which all messages are deleted?
  1171.   keepempty = OFF
  1172.  
  1173.   # we\'re running on an HP terminal and want HOME, PREV, NEXT, etc...
  1174.   keypad = OFF
  1175.  
  1176.   # should we display the three\-line \'mini\' menu?
  1177.   menu = ON
  1178.   # would you like a copy of a message you send to an alias you are on???
  1179.   metoo = OFF
  1180.  
  1181.   # when using the page commands (+ \- <NEXT> <PREV>) change the current
  1182.   # message pointer...?
  1183.   movepage = ON
  1184.  
  1185.   # just show the names when expanding aliases?
  1186.   names = ON
  1187.  
  1188.   # when messages are copied into the outbound buffer, don\'t include headers?
  1189.   noheader = ON
  1190.  
  1191.   # start up by pointing to the first new message received, if possible?
  1192.   pointnew = ON
  1193.  
  1194.   # prompt for a command after the external pager exits?
  1195.   promptafter = ON
  1196.  
  1197.   # emulate the mailx message increment mode (only increment after something
  1198.   # has been \'done\' to a message, either saved or deleted, as opposed to
  1199.   # simply each time something is touched)?
  1200.   resolve = ON
  1201.  
  1202.   # save messages, incoming and outbound, by login name of sender/recipient?
  1203.   savename = ON
  1204.  
  1205.   # save outbound messages by login name of sender/recipient even if the
  1206.   # associated folder doesn\'t already exist?
  1207.   forcename = OFF
  1208.  
  1209.   # are we running on an HP terminal and want HOME, PREV, NEXT, etc...?
  1210.   # (this implies "keypad=ON" too)
  1211.   softkeys = OFF
  1212.  
  1213.   # set the main prompt timeout for resynching...
  1214.   timeout = 60
  1215.  
  1216.   # display message title when displaying pages of message?
  1217.   titles = ON
  1218.  
  1219.   # are we good at it?  0=beginner, 1=intermediate, 2+ = expert!
  1220.   userlevel = 2
  1221.  
  1222.   # enable the weedout list to be read?
  1223.   weed = ON
  1224.  
  1225.   # what headers I DON\'T want to see, ever.
  1226.   weedout = "Path:" "Via:" "Sent:" "Date" "Status:" "Original" "Phase"
  1227.       "Subject:" "Fruit" "Sun" "Lat" "Buzzword" "Return" "Posted"
  1228.       "Telephone" "Postal\-Address" "Origin" "X\-Sent\-By\-Nmail\-V" "Resent"
  1229.       "X\-Location" "Source" "Mood" "Neuron" "Libido" "To:" "X\-Mailer:"
  1230.       "Full\-Name:" "X\-HPMAIL" "Cc:" "cc:" "Mmdf" "Network\-" "Really\-"
  1231.       "Sender:" "Post" "Message\-" "Relay\-" "Article\-" "Lines:"
  1232.       "Approved:" "Xref:" "Organization:"     "*end\-of\-user\-headers*"
  1233.  
  1234.   # alternative addresses that I could receive mail from (usually a
  1235.   # forwarding mailbox) and don\'t want to have listed...
  1236.   alternatives = hplabs!taylor  hpldat!taylor  taylor@hplabs  taylor%hpldat
  1237. .fi
  1238. .br
  1239. .ne 5
  1240. .sp 2
  1241. .hn 1 Command Line Options
  1242.  
  1243. There are a number of command line options to the Elm
  1244. program, with only one that needs to be remembered: \*Q\-?\*Uor \*Q\-h\*U
  1245. for help.
  1246.  
  1247. The options are:
  1248.  
  1249. .lp \h'24p'\-a 66p
  1250. This allows you to have the \*Q\->\*U arrow pointer
  1251. rather than the inverse bar.  This can also be set in
  1252. the \f2.elm/elmrc\f1
  1253. file with the boolean variable \f3arrow\f1.
  1254.  
  1255. .lp \h'24p'\-c 66p
  1256. Check only.  This is useful for expanding aliases
  1257. without sending any mail.  The invocation is similar to
  1258. invoking Elm in send-only mode:
  1259. .sp
  1260. .ft CW
  1261. .zf
  1262. .ti 1.5i
  1263. elm \-c\f2  list-of-aliases\f1
  1264.  
  1265. .lp "\h'24p'\-d \f2n\f1" 66p
  1266. Set debug level to \f2n\f1.  Useful for debugging the Elm
  1267. program, this option will create a file in your home
  1268. directory called \f2ELM:debug.info\f1 containing
  1269. a running log of what is going on with
  1270. the program.  Level \f2n\f1 can be 1 through 11,
  1271. where the higher numbers generate more output.
  1272. This option might be disabled by the the person who configured
  1273. Elm for your system.
  1274.  
  1275. .lp "\h'24p'\-f \f2folder\f1" 66p
  1276. Read the specified folder rather than the default incoming mailbox.
  1277. Note that you can use the same metacharacters (e.g. \*q=\*u) as when
  1278. you \f2change folders\f1 from within the program.  You can also use the
  1279. same abbreviatory symbols (\*q!\*u, \*q>\*u and \*q<\*u),
  1280. but remember to \*Qsingle quote\*U them
  1281. in case they have special meaning in the shell you use.
  1282.  
  1283. .lp "\h'24p'\-h or \-?" 66p
  1284. Help message.  Gives a short list of all these options and exits.
  1285.  
  1286. .lp "\h'24p'\-i \f2file\f1" 66p
  1287. Include a prepared file in the edit buffer before sending.
  1288. This facilitates using Elm with other programs
  1289. that interface with mail (like news readers, for example).  There
  1290. is an example of how to set up the \f2rn\f1 news reading program to
  1291. use Elm in \f2The Elm Users Guide\f1.  The file specified is
  1292. copied into the temporary file just before the signature file.
  1293.  
  1294. .lp \h'24p'\-k 66p
  1295. Keypad enable. This option lets the Elm program
  1296. know that you're on an HP terminal, and it can then interpret
  1297. the <PREV>, <NEXT> and <HOME>/<SHIFT>-<HOME> keys accordingly.  If you
  1298. are not on an HP terminal, it is recommended that you do
  1299. NOT use this option. See also the \f3keypad\f1 variable,
  1300. described under \f3Boolean Variables\f1 in section 2.
  1301.  
  1302. .lp \h'24p'\-K 66p
  1303. Keypad + softkeys enable.  The Elm mailer can
  1304. use the HP softkeys as an alternative form of
  1305. input.  If you specify this option be sure that you're on
  1306. an HP terminal that can accept the standard 2622 terminal
  1307. escape sequences! See also the \f3softkeys\f1 variable,
  1308. described under \f3Boolean Variables\f1 in section 2.
  1309.  
  1310. .lp \h'24p'\-m 66p
  1311. Inhibit display of the 3-line menu when using the mailer.  This,
  1312. of course, gives you three more message headers per page instead.
  1313. See also the \f3menu\f1 variable, described under \f3Boolean
  1314. Variables\f1 in section 2.
  1315.  
  1316. .lp "\h'24p'\-s \f2subject\f1" 66p
  1317. In send-only and batch mode, this is how to indicate the subject of the
  1318. resulting message.  Please see the section on \f3Non-Interactive
  1319. Uses of Elm\f1 in \f2The Elm Users Guide\f1 for more information.
  1320.  
  1321. .lp \h'24p'\-t 66p
  1322. Disable use of the \f2termcap/terminfo\f1 \f3ti/te\f1 capabilities.
  1323. Many terminal emulators require it (not the least of which is the
  1324. OpenLook \f2cmdtool\f1).
  1325. Some terminal emulators clear the screen on \f3te\f1 (some \f2xterm\f1s).
  1326. See also the \f3usetite\f1 variable, described under \f3Boolean
  1327. Variables\f1 in section 2.
  1328.  
  1329. .lp \h'24p'\-z 66p
  1330. This causes Elm not to start if you don't
  1331. have any mail, but instead to display the message \*QYou have no
  1332. mail.\*U   This emulates the behavior of programs
  1333. like \f2Berkeley Mail\f1.
  1334.  
  1335. .in 0
  1336. All the above options default to reasonable values, so there is
  1337. usually no need to use them.  Furthermore, the most used options
  1338. are available through the \f2.elm/elmrc\f1 file, described in section 2.
  1339. .br
  1340. .ne 5
  1341. .sp
  1342. .hn 1 Multi-Media Capabilities of Elm
  1343.  
  1344. Elm optionally provides you with some Multi-Media features, which
  1345. are compliant
  1346. to the MIME (Multipurpose Internet Mail Extension) IETF draft.
  1347.  
  1348. If the support is compiled into Elm, on the receiving side
  1349. Elm accesses Metamail from Nathaniel Borenstein of
  1350. Bellcore.  If you receive a MIME compliant message, Elm calls
  1351. Metamail automatically to display the message. Metamail
  1352. asks you if you want to display each part of the message
  1353. and uses the display programs available at your site. This
  1354. is controlled through the \f2mailcap\f1 file.
  1355.  
  1356. On the sending side, there is a simple mechanism integrated in Elm
  1357. to compose MIME compliant messages. If you have one or more key lines
  1358. of the form
  1359.  
  1360. .ft CW
  1361. .zf
  1362. .ti .5i
  1363. [\&include \f2file contenttype/subtype encoding\f1]
  1364. .ft 1
  1365.  
  1366. in the message body, at each
  1367. of these key lines, a file is included, and becomes a part
  1368. of the message. The text lines before, between and after the \f2include\f1
  1369. lines go into extra message parts of type \f2text\f1.
  1370.  
  1371. As an example, say you want to include the file \f2foo.gif\f1 into your message,
  1372. which is a GIF image, and you want to use \f2base64\f1 encoding, use the
  1373. following line:
  1374.  
  1375. .ft CW
  1376. .zf
  1377. .ti .5i
  1378. [\&include foo.gif image/gif base64]
  1379. .ft 1
  1380.  
  1381. Or you want to include a text file which contains plain ASCII:
  1382.  
  1383. .ft CW
  1384. .zf
  1385. .ti .5i
  1386. [\&include foo.txt text/plain]
  1387. .ft 1
  1388.  
  1389. The \f2encoding\f1 parameter is optional and the default is \f27bit\f1.
  1390.  
  1391. Refer to RFC1341 for valid \f2contenttype/subtype\f1 and \f2encoding\f1
  1392. parameter values.
  1393. .br
  1394. .ne 5
  1395. .sp
  1396. .hn 1 Special Outgoing Mail Processing
  1397.  
  1398. There are a few extra features that Elm offers on
  1399. outgoing mail that are worthy of mention.
  1400.  
  1401. The first, and probably the most exciting feature,\s-2\u3\d\s0 is the
  1402. .fn
  1403. 3. Unfortunately, at many non-US sites, it's quite probable that
  1404. you won't be able to use this feature since you won't have
  1405. the \f2crypt()\f1 library available due to licensing restrictions.
  1406. .ef
  1407. ability to send \f2encrypted\f1 mail! To do this is
  1408. extremely simple:  you need merely to have two key lines
  1409.  
  1410. .ft CW
  1411. .zf
  1412. .ti .5i
  1413. [\&encode]
  1414. .ft 1
  1415. .br
  1416. and
  1417. .ft CW
  1418. .zf
  1419. .ti .5i
  1420. [\&clear]
  1421. .ft 1
  1422.  
  1423. in the message body.
  1424.  
  1425. .ne 15
  1426. Consider the following outgoing message:
  1427. .sp
  1428. .nf
  1429. .ps 9
  1430. .in .5i
  1431. .ft CW
  1432. .zf
  1433. Joe,
  1434. Remember that talk we had about Amy?  Well, I talked to my manager
  1435. about it and he said...
  1436. uhh...better encrypt this...the usual \`key\'...
  1437. [\&encode]
  1438. He said that Amy was having family problems and that it had been
  1439. affecting her work.
  1440. Given this, I went and talked to her, and told her I was sorry for
  1441. getting angry.  She said that she understood.
  1442. We\'re friends again!!
  1443. [\&clear]
  1444. Exciting stuff, eh?
  1445. \h'3i'Mike
  1446. .ps 10
  1447. .ft 1
  1448. .in 0
  1449. .fi
  1450. .sp
  1451. While this is obviously quite readable while being typed into
  1452. the editor, as soon as the message is confirmed as wanting
  1453. to be sent, the Elm mailer prompts with:
  1454. .sp
  1455. .nf
  1456. .ft CW
  1457. .zf
  1458. .ps 9
  1459. .ti .5i
  1460. Enter encryption key: @
  1461. .ps 10
  1462. .ft 1
  1463. .fi
  1464. .sp
  1465. and accepts a key (a series of 8 or less characters) without
  1466. echoing them to the screen.  After entry, it will ask for the
  1467. same key again to confirm it, then *\f2poof\f1* it will encrypt and
  1468. send the mail.
  1469.  
  1470. If you have the \f3copy\f1 option enabled, the program will save
  1471. your copy of the message encrypted too.  (This is to ensure
  1472. the privacy and security of your mail archive, too.)
  1473.  
  1474. If the mailer doesn't ask for the encryption key, it's because
  1475. you don't have the \f2[\&encode]\f1 entered as the first 8 characters
  1476. of the line.  It MUST be so for this to work!!
  1477.  
  1478. On the other end, a person receiving this mail (they must also
  1479. be using Elm to receive it, since this mailer has a
  1480. unique encryption program) will be reading the
  1481. message and then suddenly be prompted:
  1482. .sp
  1483. .nf
  1484. .ft CW
  1485. .zf
  1486. .ps 9
  1487. .ti .5i
  1488. Enter decryption key: @
  1489. .ft 1
  1490. .ps 10
  1491. .fi
  1492. .sp
  1493. and will again be asked to re-enter it to confirm.
  1494. The program will then on-the-fly decrypt the mail
  1495. and display each line as it is decoded.  The \f2[\&clear]\f1
  1496. line signifies that the block to encrypt is done.
  1497.  
  1498. Note that it is not possible currently to \f3pipe\f1 or \f3print\f1
  1499. encrypted mail.
  1500. .sp 2
  1501. The other feature on outgoing mail is the ability to
  1502. specify what section of the message you want to have
  1503. archived (assuming \f3copy\f1 is enabled) and what section
  1504. you don't.  This is most useful for sending out source
  1505. file listings and so on.
  1506.  
  1507. To indicate the end of the section that should be
  1508. saved in the archive, you need merely to have the key line
  1509. .sp
  1510. .nf
  1511. .ft CW
  1512. .zf
  1513. .ti .5i
  1514. [\&nosave]
  1515. .ft 1
  1516. or
  1517. .ft CW
  1518. .zf
  1519. .ti .5i
  1520. [\&no save]
  1521. .ft 1
  1522. .fi
  1523. .sp
  1524. appear by itself on a line.  This key line is removed from
  1525. the outgoing mail, and indicates the last line of
  1526. the message to be saved.
  1527. Other than this, the saved mail is identical to the outgoing mail.
  1528. .br
  1529. .ne 5
  1530. .sp
  1531. .hn 1 Customized header lines
  1532.  
  1533. The mailer provides a facility for including customized
  1534. header lines in the messages you send.
  1535. If you have an \f2.elm/elmheaders\f1 file,
  1536. the mailer will include its contents
  1537. immediately after the regular headers of all outbound  mail.
  1538. The mailer supports use of the backquote convention in this file
  1539. to run commands and substitute the commands' output for the backquoted
  1540. text.
  1541. Here's a typical \f2.elm/elmheaders\f1 file:
  1542. .sp
  1543. .ft CW
  1544. .zf
  1545. .nf
  1546.   Organization: Hewlett-Packard Laboratories
  1547.   Phone: (415)-555-1234
  1548.   Operating-System: \`uname -srv\`
  1549. .fi
  1550. .ft 1
  1551. .sp
  1552. These lines will be inserted after all other header lines in the message.
  1553. .br
  1554. .ne 5
  1555. .sp
  1556. .hn 1 Commands
  1557. .sp
  1558.  
  1559. This section discusses each command in the Elm
  1560. program in more detail than above, including the
  1561. prompts the user can expect upon executing the
  1562. command, the meaning of different options, etc.
  1563.  
  1564. .lp \h'24p'? 66p
  1565. Help.  This command used once puts you in the \f2help\f1
  1566. mode, where any key you press results in a one-line description
  1567. of the key.  Pressing \*q?\*u again at this point produces a
  1568. summary listing each command available.
  1569. Pressing \*q.\*u (period) leaves the help mode and returns you to the
  1570. command level.
  1571.  
  1572. .lp \h'24p'<space> 66p
  1573. Display the current message.
  1574. <space> is useful for reading through a mail folder.
  1575. When issued from the index screen,
  1576. it displays the first screen of the current message.
  1577. When issued while in the builtin pager,
  1578. it pages through the message to the end.
  1579. When issued at the end of a message
  1580. (with either the builtin pager or an external pager),
  1581. it displays the first screen of the next message not marked for deletion.
  1582.  
  1583. .lp \h'24p'<return> 66p
  1584. Display the current message.
  1585. <return> behaves somewhat differently from <space>.
  1586. When issued while in the builtin pager,
  1587. it scrolls the current message forward one line,
  1588. and then when issued at the end of a message
  1589. (with either the builtin pager or an external pager),
  1590. it redisplays the first screen of the the \f2current\fP message.
  1591. The latter is useful in case you have issued a non-pager
  1592. command while in the builtin pager and want to restart the display
  1593. of the current message.
  1594.  
  1595. .lp \h'24p'! 66p
  1596. Shell.  This allows you to send a command to the shell without
  1597. leaving the program.  Note that it is possible that the person who
  1598. installed Elm on your system disabled this feature.
  1599.  
  1600. .lp \h'24p'| 66p
  1601. Pipe.  This command allows you to pipe the current message
  1602. or the set of \f2tagged\f1 messages
  1603. through other filters as you desire.  The shell used for
  1604. the entire command is either the one specified in
  1605. your \f2.elm/elmrc\f1 file, or the default shell (see the \f3shell\f1
  1606. variable under \f3String Variables\f1 in section 2).
  1607.  
  1608. .lp \h'24p'\/ 66p
  1609. Pattern match.  This command, at the command level, allows the
  1610. user to search through all the \f2from\f1 and \f2subject\f1 lines of
  1611. the current folder starting at the current message and
  1612. continuing through the end.  If the first character of the
  1613. pattern is a \*q/\*u, then Elm tries to match the
  1614. specified pattern against \f2any\f1 line in the folder.  Again,
  1615. this works from the current message through the
  1616. end.  Both searches are case insensitive.
  1617.  
  1618. .lp "\h'24p'\- or <left>" 66p
  1619. Display the previous page of the message index.
  1620.  
  1621. .lp "\h'24p'+ or <right>" 66p
  1622. Display the next page of the message index.
  1623.  
  1624. .lp \h'24p'<number><return> 66p
  1625. Specify new current message.  When you type in any digit, Elm
  1626. prompts \*QSet current to : \f2n\f1\*U, where \f2n\f1 is
  1627. the digit entered.  Continue entering the full number
  1628. and terminate with <return>.  Note that changing the
  1629. current message to a message not on the
  1630. current page of headers results in a new page
  1631. being displayed.
  1632.  
  1633. .lp \h'24p'< 66p
  1634. Scan message for calendar entries.  A rather novel feature of
  1635. the Elm mailer is the ability to automatically incorporate
  1636. calendar/agenda information from a mail message into the user's
  1637. calendar file.  This is done quite simply; any line that has
  1638. the pattern
  1639.  
  1640. .ti +.5i
  1641. \-> \f2calendar entry\f1
  1642.  
  1643. is automatically added to the user's \f3calendar\f1 file
  1644. when the \*q<\*u command is used
  1645. (see the \f3calendar\f1 variable under \f3String Variables\f1 in section 2).
  1646. .sp
  1647. For example, let's say we had a message with the text:
  1648.  
  1649. .ft CW
  1650. .zf
  1651. .ps 9
  1652. .ti +.5i
  1653. Regardless of that meeting, here\'s the seminar stuff:
  1654. .br
  1655. .ti +.5i
  1656. \-> 8/03 3:00pm: AI Seminar with Ira Goldstein of HP Labs
  1657. .ft 1
  1658. .ps 10
  1659.  
  1660. then using the \*q<\*u command would add the line:
  1661.  
  1662. .ft CW
  1663. .zf
  1664. .ps 9
  1665. .ti +.5i
  1666. 8/03 3:00pm: AI Seminar with Ira Goldstein of HP Labs
  1667. .ps 10
  1668. .ft 1
  1669.  
  1670. to the user's \f3calendar\f1 file.
  1671.  
  1672. .lp \h'24p'a 66p
  1673. Alias.  The alias system is a way by which more complex mail addresses
  1674. can be shortened for the mail user.  For example:
  1675. .sp
  1676. .nf
  1677. .ps 9
  1678. .ft CW
  1679. .zf
  1680. .ti +.5i
  1681. joe, bleu   =  Joe Bleu  =   joe@hpfcla.SSO.HP.COM
  1682. .ft 1
  1683. .ps 10
  1684. .fi
  1685. .sp
  1686. which allows mail to \*Qjoe\*U or \*Qbleu\*U with the system expanding
  1687. the address properly.  Obviously, this saves having to remember
  1688. complex addresses.  A more detailed discussion can
  1689. be found in either the section entitled \f2The Alias System\f1 in
  1690. this document or \f2The Elm Alias System Users Guide\f1.
  1691.  
  1692. .lp \h'24p'b 66p
  1693. Bounce mail.  This \*Qremails\*U mail to someone else in such a
  1694. way as to make the return address the original sender rather
  1695. than you.  The \f3forward\f1 command is similar, but it makes
  1696. the return address \f2you\f1 rather than the original sender.
  1697.  
  1698. .lp \h'24p'C 66p
  1699. Copy to folder.  This command copies the current message or set of
  1700. tagged messages to
  1701. a folder.  If there is anything in the folder currently the
  1702. message is appended to the end, otherwise the folder is created
  1703. containing only the newly copied messages.  The prompt for this command
  1704. is \*QCopy to folder: \*U.  A response of <return> cancels the command
  1705. and returns the user to the command prompt.  The usual filename
  1706. metacharacters are available, too.  That is, this command expands filenames
  1707. with \*q~\*u (tilde) to your home directory and \*q=\*u to your
  1708. \f3maildir\f1 directory, if defined.  This command also allows you to
  1709. use \*q>\*u for your \f3receivedmail\f1 folder,
  1710. \*q<\*u for your \f3sentmail\f1 folder,
  1711. \*q.\*u for the last folder you saved or copied a message to
  1712. and \*Q@alias\*U for the default folder for \*Qalias\*U.
  1713. If you use a shell wildcard in the file or folder name, you are
  1714. given a list of all files or folders which match the wildcard.
  1715. Elm uses your shell to find the names, so whatever wildcards you are
  1716. used to will work.
  1717. Finally, you can also enter \*q?\*u at the prompt
  1718. to get detailed help.
  1719.  
  1720. .lp \h'24p'c 66p
  1721. Change folder.  Specifying this command allows the user to change
  1722. the folder that is currently being read.  This is intended
  1723. for perusal and reply to previously archived messages.
  1724. The prompt is \*QName of new folder: \*U and entering <return>
  1725. cancels the operation, while entering a filename causes the program
  1726. to read that file as the new folder,
  1727. if possible.  This command expands filenames
  1728. with \*q~\*u (tilde) to your home directory and \*q=\*u to your
  1729. \f3maildir\f1 directory, if defined.  This command also allows you to
  1730. use \*q!\*u as an abbreviation for you incoming mailbox,
  1731. \*q>\*u for your \f3receivedmail\f1 folder,
  1732. \*q<\*u for your \f3sentmail\f1 folder,
  1733. \*q.\*u for the last folder you saved or copied a message to
  1734. and \*Q@alias\*U for the default folder for \*Qalias\*U.
  1735. If you use a shell wildcard in the file or folder name, you are
  1736. given a list of all files or folders which match the wildcard.
  1737. Elm uses your shell to find the names, so whatever wildcards you are
  1738. used to will work.
  1739. Finally, you can also enter \*q?\*u at the prompt
  1740. to get detailed help.
  1741.  
  1742. .lp "\h'24p'd, u" 66p
  1743. Delete and undelete.  Neither of these two commands have any prompts
  1744. and indicate their action by either adding a \*qD\*u to the current
  1745. message index entry (indicating deletion pending) or removing
  1746. the \*qD\*u (indicating that the message isn't set for deletion).
  1747.  
  1748. .lp \h'24p'<control>-D 66p
  1749. This command allows you to easily mark for deletion all messages
  1750. that have a specific pattern.  After \f3<control>-D\f1 is pressed,
  1751. Elm prompts for the string to match in
  1752. either the \f2from\f1 or \f2subject\f1 lines of
  1753. the messages.
  1754.  
  1755. .lp \h'24p'<control>-U 66p
  1756. This is the direct opposite command to the \f3<control>-D\f1 command
  1757. \(em all messages
  1758. that match the specified pattern have any mark for deletion
  1759. removed by this command.
  1760.  
  1761. .lp \h'24p'e 66p
  1762. Edit mailbox.  This allows you to modify the current mail file at
  1763. a single keystroke.  This is mostly useful for editing messages
  1764. before saving them.  Modifying headers should be done with extreme
  1765. caution, as they contain routing information and other vital stuff
  1766. for full functionality.  This command may be disabled by whoever
  1767. configured your Elm installation.
  1768.  
  1769. .lp \h'24p'f 66p
  1770. Forward.  Allows the user to forward the current message to another user.
  1771. This copies the message into the edit buffer and allows the user to add
  1772. their own message too.  The prompt is \*QForward to:\*U and will expand an alias
  1773. if entered.  See also \f3bounce\f1, above.
  1774.  
  1775. Elm will ask you if you want to edit the message before sending it.  If you
  1776. answer \f2yes\f1, Elm will prepend your prefix string to each line of the
  1777. message, and let you edit the result.  If you do not want the prefix string
  1778. on each line, answer \f2no\f1; you will have another chance to edit the message
  1779. when you get to the \*Qsend\*U menu.  See the \f3prefix\f1 variable
  1780. under \f3String Variables\f1 in section 2.
  1781.  
  1782. .lp \h'24p'g 66p
  1783. Group reply.  Identical to \f3reply\f1 below, except that the
  1784. response is mailed to \f2all recipients\f1 of the original
  1785. message except yourself. See the \f3alternatives\f1
  1786. variable under \f3String Variables\f1 in section 2.
  1787.  
  1788. .lp \h'24p'h 66p
  1789. Display the current message with all headers intact.
  1790. When you display a message with other commands,
  1791. certain header lines are formatted and others discarded according
  1792. to the \f3weedlist\fP variable, described under \f3String
  1793. Variables\f1 in section 2.
  1794.  
  1795. .lp \h'24p'i 66p
  1796. Return to the index screen,
  1797. when issued in the builtin pager or at the end of a message with
  1798. either the builtin pager or an external pager.
  1799.  
  1800. .lp "\h'24p'j or <down>, k or <up>" 66p
  1801. These four keys work similarly to what they would do in \f2vi\f1 or
  1802. any of the other (precious few) screen oriented
  1803. programs.  The \f3j\f1 and \f3<down>\f1 keys move
  1804. the current message pointer down to the next message skipping
  1805. over any marked deleted (going to
  1806. the next page if necessary) and the \f3k\f1 and \f3<up>\f1 keys move
  1807. the current
  1808. message pointer back to the previous message skipping
  1809. over any marked deleted (also changing pages if necessary).
  1810.  
  1811. .lp "\h'24p'J, K" 66p
  1812. These two keys work similarly to their lower case counterparts,
  1813. except that they don't skip over deleted messages.
  1814.  
  1815. .lp \h'24p'l 66p
  1816. Limit.  This feature allows you to specify a subset of the existing
  1817. messages to be dealt with.  For example, let's say we had a folder with
  1818. four hundred messages in it, with only four or five different subjects.  We
  1819. could then limit what we're dealing with by using the \f3limit\f1
  1820. command.  Pressing \f3l\f1 would result in the prompt:
  1821. .sp
  1822. .nf
  1823. .ft CW
  1824. .zf
  1825. .ti +.5i
  1826. Criteria:
  1827. .ft 1
  1828. .fi
  1829. .sp
  1830. to which we could answer
  1831. \*Qsubject \f2string\f1\*U,
  1832. \*Qfrom \f2string\f1\*U or
  1833. \*Qto \f2string\f1\*U.  In our example, we could use
  1834. \*Qsubject programming\*U
  1835. as a criterion for selection.  Once we've limited our selections,
  1836. the screen is rewritten with just the selected messages
  1837. and the top line changes to have a message like:
  1838. .sp
  1839. .nf
  1840. .ft CW
  1841. .zf
  1842. .ps 9
  1843. .tl ''\0\0\0\0\0Folder is "=elm" with 92 shown out of 124 [Elm 2.4]''
  1844. .ps 10
  1845. .ft 1
  1846. .fi
  1847. .sp
  1848. We can further limit selections by using the \f3limit\f1 option
  1849. repeatedly to enter further criteria.
  1850.  
  1851. To clear all the criteria and get back to the \*Qregular\*U display, simply
  1852. enter \*Qall\*U as the limiting criteria.  It should be noted that the
  1853. selection based on \*Qto\*U isn't fully implemented for this version, so
  1854. it is recommended that users stay with \*Qsubject\*U and \*Qfrom\*U as the
  1855. basis for their criteria.
  1856.  
  1857. .lp \h'24p'm 66p
  1858. Mail.  Send mail to a specified user.  The prompt associated
  1859. with this command is \*QSend mail to: \*U.  Entering an alias name results
  1860. in the full address being rewritten in parenthesis immediately.  This
  1861. prompt is followed by \*QSubject: \*U which allows the user to title their
  1862. note.  The final prompt is \*QCopies to: \*U, which allows other people
  1863. specified to receive \*Qcarbon copies\*U of the message, but see the
  1864. \f3askcc\f1 variable under \f3Boolean Variables\f1 in section 2.  Upon
  1865. entering all three items the
  1866. editor is invoked and the message can be composed.
  1867.  
  1868. .lp \h'24p'n 66p
  1869. Next message that is not marked for deletion.
  1870. Useful for displaying successive messages in a folder.
  1871. When issued from the index screen, it displays the current message,
  1872. and when issued while in the builtin pager or at the end of a message
  1873. (with either the builtin pager or an external pager),
  1874. it displays the first screen of the next message not marked for deletion.
  1875.  
  1876. .lp \h'24p'o 66p
  1877. Options.  This full-screen display allows you to alter the settings
  1878. of a number of parameters, including the current sorting method,
  1879. the method of printing files, the calendar file, the save file, and
  1880. so on.  It's self-documenting (where have you heard \f2that\f1
  1881. before?) so isn't explained in too much detail here.  See the
  1882. \f3configoptions\f1 variable under \f3String Variables\f1 in section 2.
  1883.  
  1884. .lp \h'24p'p 66p
  1885. Print.  This allows you to print out the current
  1886. message or the tagged messages to a previously defined printer.  See
  1887. the \f3print\f1 variable under \f3String Variables\f1 in section 2.
  1888.  
  1889. .lp \h'24p'q 66p
  1890. Quit.  If you in the pager, you are returned to the index screen. If you are
  1891. at the index screen, Elm quits altogether.  However, if you have the
  1892. \f3ask\fP variable set ON, Elm first prompts you for the disposition of the
  1893. messages in the current folder.  If any messages are marked for deletion, it
  1894. asks if you want them deleted.  If the current folder is your incoming
  1895. mailbox, you are also asked if read messages should be stored in your
  1896. \f3receivedmail\f1 folder,
  1897. and if unread messages should be kept in the incoming mailbox.
  1898. The default answers to these questions are set by the \f2.elm/elmrc\f1
  1899. variables \f3alwaysdelete\f1, \f3alwaysstore\f1, and \f3alwayskeep\f1
  1900. (see \f3Boolean Variables\f1 in section 2).
  1901. However, if you elect to not store your read messages (i.e. keep them)
  1902. it is presumed you want to keep your unread messages, too.
  1903.  
  1904. .lp \h'24p'Q 66p
  1905. Quick quit.  This behaves similar to the \f3quit\f1 command except that
  1906. you are never prompted for answers to the message disposition questions.
  1907. Elm disposes of messages according to the values you
  1908. have set for \f3alwaysdelete\f1, \f3alwaysstore\f1, and \f3alwayskeep\f1
  1909. in your \f2.elm/elmrc\f1 file (see \f3Boolean Variables\f1 in section 2).
  1910.  
  1911. .lp \h'24p'r 66p
  1912. Reply.  Reply to the sender of the current message.  If
  1913. the \f3autocopy\f1 variable is set to OFF in your \f2.elm/elmrc\f1 file,
  1914. Elm prompts \*QCopy message? (y/n)\*U, to which you can specify
  1915. whether or not a copy of the source message is to be copied into the edit
  1916. buffer.  If copied in, all lines from the message are
  1917. prepended with the \f3prefix\f1 character sequence specified in
  1918. your \f2.elm/elmrc\f1 file (see \f3String Variables\f1 in section 2).
  1919.  
  1920. .lp \h'24p's 66p
  1921. Save to folder.  This command is like the \f3copy\f1 command, except
  1922. that the saved messages are marked for deletion and, if you are
  1923. saving just the current message, the current message pointer is
  1924. incremented afterwards (see the \f3resolve\f1 variable under \f3Boolean
  1925. Variables\f1 in section 2).  This command expands folder names
  1926. with \*q~\*u (tilde) to your home directory and \*q=\*u to your
  1927. \f3maildir\f1 directory, if defined.  This command also allows you to
  1928. use \*q>\*u for your \f3receivedmail\f1 folder,
  1929. \*q<\*u for your \f3sentmail\f1 folder (see \f3String Variables\f1 in
  1930. section 2),
  1931. \*q.\*u (period) for the last folder you saved or copied a message to
  1932. and \*Q@alias\*U for the default folder for \*Qalias\*U.
  1933.  
  1934. .lp \h'24p't 66p
  1935. Tag.
  1936. .fn
  1937. 4. Currently only \f3copy\f1, \f3pipe\f1, \f3print\f1, and \f3save\f1
  1938. support this.
  1939. .ef
  1940. Tag the current message for a later operation.\s-2\u4\d\s0
  1941.  
  1942. .lp \h'24p'T 66p
  1943. Tag and move to next undeleted message.
  1944. This command is like the `Tag' command but also increments the current message
  1945. pointer to the next undeleted message.
  1946.  
  1947. .lp \h'24p'<control>-T 66p
  1948. Tag all messages containing the specified pattern.  Since \f2tagging\f1
  1949. messages can occur on screens other than the one being viewed,
  1950. Elm first checks to see if any messages are currently
  1951. \f2tagged\f1 and ask you if you'd like to remove those tags.  After
  1952. that, it will, similar to the \f3<control>-D\f1 command, prompt for
  1953. a pattern to match and then mark all messages that contain
  1954. the (case insensitive) pattern in either the \f2from\f1 or \f2subject\f1
  1955. lines.
  1956.  
  1957. .lp \h'24p'x 66p
  1958. Exit.  This leaves Elm and discards any changes to the mailbox.
  1959. If changes are pending (such as messages marked for deletion) you are
  1960. asked to confirm discarding the changes.  If confirmed, no
  1961. messages are deleted and the status of all messages is unchanged.  That is,
  1962. any messages that were new will remain new instead of being noted as old,
  1963. and any messages that were read for the first time
  1964. will be again noted as unread.
  1965.  
  1966. .lp \h'24p'X 66p
  1967. Exit immediately.  This leaves Elm in the quickest possible manner
  1968. without even prompting about discarding the changes to the mailbox.
  1969. No messages are deleted and the status of all messages is unchanged.  That is,
  1970. any messages that were new will remain new instead of being noted as old,
  1971. and any messages that were read for the first time
  1972. will be again noted as unread.
  1973.  
  1974. .in 0
  1975. .sp
  1976. When you are about to send a message with the \f3forward\f1, \f3mail\f1,
  1977. or \f3reply\f1 commands (see above), a small menu of the following
  1978. options appears:
  1979.  
  1980. .lp \h'24p'c 66p
  1981. Specify the folder for saving a copy of the message.
  1982. This allows you to override the
  1983. \f3copy\f1, \f3forcename\f1 and \f3savename\f1 variables
  1984. from your \f2.elm/elmrc\f1 file (see \f3Boolean Variables\f1 in
  1985. section 2).  It prompts you for the name
  1986. of the folder where a copy of the outgoing message is to be saved.  The
  1987. default displayed is taken from those three \f2.elm/elmrc\f1
  1988. options and can be changed.  This command also allows you to
  1989. use \*q>\*u for your \f3receivedmail\f1 folder
  1990. and \*q<\*u for your \f3sentmail\f1 folder (see \f3String Variables\f1
  1991. in section 2),
  1992. and \*q=?\*u to mean \*Qconditionally save by name\*U
  1993. and \*q=\*u to mean \*Qunconditionally save by name\*U.
  1994. Since you could next enter
  1995. the \f3edit headers\f1 command and change the recipients
  1996. of your message, the name of the folder under the
  1997. two \*Qsave by name\*U options is not established until you enter the \f3send\f1
  1998. command.
  1999. If you use a shell wildcard in the file or folder name, you are
  2000. given a list of all files or folders which match the wildcard.
  2001. Elm uses your shell to find the names, so whatever wildcards you are
  2002. used to will work.
  2003. You can also enter \*q?\*u at the prompt
  2004. to get help about saving.
  2005.  
  2006. .lp \h'24p'e 66p
  2007. Edit message (or form).  Entering this command allows you to edit
  2008. the text of your message or form.
  2009.  
  2010. .lp \h'24p'f 66p
  2011. Forget.  This gets you out of sending a message you started. If you are
  2012. in send-only mode, the message is saved to the file \f2Canceled.mail\f1
  2013. in your home directory.  Otherwise
  2014. it can be restored at the next \f3forward\f1, \f3mail\f1,
  2015. or \f3reply\f1 command during the current session of Elm After
  2016. issuing one of those commands you will be prompted with \*QRecall last
  2017. kept message?\*U
  2018.  
  2019. .lp \h'24p'h 66p
  2020. Edit headers.  This puts you into the \f2header editing mode\f1, whereby
  2021. you can edit any of the various headers of your message.  Like
  2022. the options screen, it's self-documenting, so it isn't explained in too much
  2023. detail here.
  2024.  
  2025. .lp \h'24p'i 66p
  2026. Run \f2ispell\f1 (or some other configured spelling correction program).
  2027. The outgoing message is run through an interactive spelling correction program
  2028. if one is available.  The default spelling program is the GNU \f2ispell\f1 program
  2029. unless changed by the person who installed Elm on your system.
  2030.  
  2031. .lp \h'24p'm 66p
  2032. Make form.  This converts the message you have edited into a form.  See
  2033. the \f3forms\f1 variable under \f3Boolean Variables\f1 in section 2 and
  2034. \f2The Elm Forms Mode Guide\f1 for more details.
  2035.  
  2036. .lp \h'24p's 66p
  2037. Send.  This sends the message as is without any further ado.
  2038. .in 0
  2039. .br
  2040. .ne 5
  2041. .sp
  2042. .hn 1 "Using Elm with \*Qeditor = none\*U"
  2043. .sp
  2044. The Elm program also supports a builtin editor for simple message
  2045. composition that is very (very) similar to the simple line
  2046. editor available from the \f2Berkeley Mail\f1 system.
  2047.  
  2048. To access it, you need merely to specify \*Q\f3editor=none\f1\*U in
  2049. your \f2.elm/elmrc\f1 file.
  2050. With that, any messages to be composed
  2051. that don't already have text in the buffer (e.g. no reply with
  2052. the text included, etc.), will use this editor.
  2053. .sp
  2054. From the builtin editor, the following options are available for use.
  2055. Each command here is prefixed with a \*q~\*u (tilde).
  2056. You can specify a different \*Qescape\*U character in your \f2.elm/elmrc\f1 file,
  2057. if you desire (see the \f3escape\f1 variable under \f3String
  2058. Variables\f1 in section 2).
  2059. .sp
  2060.  
  2061. .lp \h'16p'~? .5i
  2062. Print a brief help menu.
  2063.  
  2064. .lp \h'16p'~b .5i
  2065. Change the Blind-Carbon-Copy list.
  2066.  
  2067. .lp \h'16p'~c .5i
  2068. Change the Carbon-Copy list.
  2069.  
  2070. .lp \h'16p'~e .5i
  2071. Invoke the \f3easyeditor\f1 editor on the message, if possible
  2072. (see the \f3easyeditor\f1 variable under \f3String Variables\f1 in
  2073. section 2).
  2074.  
  2075. .lp \h'16p'~f .5i
  2076. Add the specified message or current message.
  2077.  
  2078. .lp \h'16p'~h .5i
  2079. Change all the available headers (To, Cc, Bcc, and Subject).
  2080.  
  2081. .lp \h'16p'~m .5i
  2082. Same as \f3~f\f1, but with the current \f3prefix\f1 (see the
  2083. \f3prefix\f1 variable under \f3String Variables\f1 in section 2).
  2084.  
  2085. .lp \h'16p'~o .5i
  2086. Invoke a user specified editor on the message.
  2087.  
  2088. .lp \h'16p'~p .5i
  2089. Print out, on the screen, the message as typed in so far.
  2090.  
  2091. .lp \h'16p'~r .5i
  2092. Include (read in) the contents of the specified file.
  2093.  
  2094. .lp \h'16p'~s .5i
  2095. Change the Subject line.
  2096.  
  2097. .lp \h'16p'~t .5i
  2098. Change the To list.
  2099.  
  2100. .lp \h'16p'~v .5i
  2101. Invoke the \f2vi\f1 visual editor on the message.
  2102.  
  2103. .lp \h'16p'~< .5i
  2104. Execute the specified
  2105. .ux
  2106. command, entering the output
  2107. of the command into the editor buffer upon completion.
  2108. For example, \*Q~< who\*U includes the output of
  2109. the \f2who\f1 command in your message.
  2110.  
  2111. .lp \h'16p'~! .5i
  2112. Execute a
  2113. .ux
  2114. command if one is given (as in \*Q~!ls\*U) or
  2115. give the user a shell, either from the \f3shell\f1 variable setting in
  2116. the \f2.elm/elmrc\f1 file or the default (see the \f3shell\f1 variable
  2117. under \f3String Variables\f1 in section 2).
  2118.  
  2119. .lp \h'16p'~~ .5i
  2120. Add a line prefixed by a single \*q~\*u character.
  2121. .in 0
  2122. .sp
  2123. A useful note is that the \f3~f\f1 and \f3~m\f1 commands invoke the \f2readmsg\f1
  2124. command, so you can pass parameters along too.  For example, if we
  2125. wanted to include a message from Joe, without any headers, but with each
  2126. line prefixed, we could use:
  2127. .sp
  2128. .nf
  2129. .ft CW
  2130. .zf
  2131. .ti .5i
  2132. \&~m \-n Joe
  2133. .ft 1
  2134. .fi
  2135. .sp
  2136. to accomplish the task.
  2137.  
  2138. To learn more about how they work, try 'em!
  2139. .br
  2140. .ne 5
  2141. .sp
  2142. .hn 1 The Alias System
  2143. .sp
  2144. As mentioned previously, there exists in the Elm
  2145. system a set of aliases that associate
  2146. an arbitrary word (such as a persons name) to a complex address or group.
  2147. The advantages are readily apparent; rather than
  2148. remembering an address of the form:
  2149. .sp
  2150. .nf
  2151. .ps 9
  2152. .ft CW
  2153. .zf
  2154. .ti .5i
  2155. host1!host2! ... !hostN!user
  2156. .ft 1
  2157. .ps 10
  2158. .fi
  2159. .sp
  2160. the user merely has to remember a single word.
  2161.  
  2162. Two alias tables are available for a each
  2163. user within Elm,
  2164. namely the system alias file and the user's alias file.  The
  2165. system alias file is created and maintained (by the system administrator)
  2166. by editing the file name defined for \f2SYSTEM_ALIASES\f1 in the
  2167. \f2sysdefs.h\f1 file (see \f2The Elm Configuration Guide\f1) and as described
  2168. in the documentation with the \f2newalias\f1 command,
  2169. then running the \f2newalias\f1 program.
  2170.  
  2171. An individual user can also have an alias file which works
  2172. in conjunction with the system aliases.  To do this, one
  2173. merely needs to enter the alias menu system and create aliases with
  2174. the \f3a\f1 (\f3alias current message\f1) or \f3n\f1
  2175. (\f3make new alias\f1) commands.
  2176. Alternatively, the user can peruse the documentation for the \f2newalias\f1
  2177. command and create a file as indicated therein.  After
  2178. executing the program, the aliases are available
  2179. for use from within Elm.
  2180. .sp
  2181. Please refer to \f2The Elm Alias Users Guide\f1 for complete details.
  2182. .sp 2
  2183. Within Elm,
  2184. however, the alias system acts as an entirely different program, with
  2185. its own display, own commands, and own mini-menu.  The aliases are
  2186. presented in a
  2187. list similar to the index screen with the following menu:
  2188. .sp
  2189. .sd
  2190. .nf
  2191. .ps 9
  2192. .ft CW
  2193. .zf
  2194. .ce 3
  2195. Alias commands:  ?=help, <n>=set current to n, /=search pattern
  2196. a)lias current message, c)hange, d)elete, e)dit aliases.text, f)ully expand,
  2197. l)imit display, m)ail, n)ew alias, r)eturn, t)ag, u)ndelete, or e(x)it
  2198. .sp
  2199. Alias: @
  2200. .sp
  2201. .ps 10
  2202. .ft 1
  2203. .ed
  2204. .fi
  2205.  
  2206. The commands are:
  2207.  
  2208. .lp \h'16p'? .5i
  2209. Help.  This command used once puts you in the \f2help\f1
  2210. mode, where any key you press will result in a one-line description
  2211. of the key.  Pressing \*q?\*u again at this point produces a
  2212. summary listing each command available.
  2213. Pressing \*q.\*u (period) leaves the help mode and returns you to the
  2214. alias command prompt.
  2215.  
  2216. .lp "\h'16p'<space> or <return> or v" .5i
  2217. Display the current alias address.  The alias address is displayed below
  2218. the alias menu.  This command allows you to verify the address for a
  2219. person or the contents of a group alias.
  2220.  
  2221. .lp \h'16p'$ .5i
  2222. Resynchronize the alias text file (\f2$HOME/.elm/aliases.text\f1) and
  2223. alias database by rebuilding the database from the text file by running
  2224. \f2newalias\f1.  Aliases marked for deletion are removed, tagged aliases
  2225. are untagged, and new and changed aliases are recognized.  The alias
  2226. screen is updated to reflect these changes.
  2227.  
  2228. .lp \h'16p'\/ .5i
  2229. Pattern match.  This command allows the
  2230. user to search through all the \f2alias\f1 and \f2username\f1
  2231. entries in the alias list
  2232. starting at the current alias and
  2233. continuing through the end.
  2234. If the first character of the
  2235. pattern is a \*q/\*u, then Elm also includes the \f2comment\f1
  2236. and the fully expanded \f2address\f1 fields in the search.
  2237. The search is case insensitive.  This allows the user to find a
  2238. specific alias in the situation where there are a large number of
  2239. aliases.
  2240.  
  2241. .lp \h'16p'a .5i
  2242. Alias current message.
  2243. This allows the user to create an alias that has the
  2244. return address of the current message as the address field of
  2245. the alias.  It prompts for a unique alias name.  If the alias
  2246. name is not unique, you will be asked if you wish to replace
  2247. the existing alias.  For further
  2248. information, please see \f2The Elm Alias System Users Guide\f1.
  2249.  
  2250. .lp \h'16p'c .5i
  2251. Change current alias.  This will prompt for changes to the current
  2252. names and address.  If other aliases are tagged you will be asked if you
  2253. want to create a group alias from the tagged aliases.  The original
  2254. alias is replaced with the new information in
  2255. your individual alias file (\f2$HOME/.elm/aliases.text\f1) and
  2256. then added to the database (at the next alias resync).  Aliases
  2257. that have been changed are marked with an \*qN\*u (for new) until
  2258. the database is updated.
  2259.  
  2260. .lp "\h'16p'd, u" .5i
  2261. Delete or undelete an alias.
  2262. This allows the user to mark an alias for deletion in the same fashion
  2263. as on the index screen.  The deletions are not
  2264. actually made until the user returns to the main menu with the \f3r\f1,
  2265. \f3q\f1, or \f3i\f1 commands or resyncs
  2266. the display with the \f3$\f1 command.  Deletions on system aliases are not
  2267. allowed.  These commands (plus the \f3<control>-D\f1
  2268. and \f3<control>-U\f1 versions) behave identically to their index screen
  2269. counterparts (see section 7, \f3Commands\f1).
  2270.  
  2271. .lp \h'16p'e .5i
  2272. Edit the \f2.elm/aliases.text\f1 file.  The user alias file is edited
  2273. using the editor defined in the \f3editor\f1 variable in your
  2274. \f2\&.elm/elmrc\f1 file (see \f3String Variables\f1 in section 2).
  2275. \f2newalias\f1 is run after the edit.
  2276.  
  2277. .lp \h'16p'f .5i
  2278. Display fully expanded alias.  The currently selected
  2279. alias is fully expanded and displayed to the user.  This is most useful when
  2280. working with group aliases.
  2281.  
  2282. .lp \h'16p'l .5i
  2283. Limit the display.  You can limit the display by alias type (person/group
  2284. or user/system) or by search pattern on name or alias.  Otherwise, this
  2285. works exactly like the limit command on the index screen.
  2286.  
  2287. .lp \h'16p'm .5i
  2288. Send mail to the current alias.  The user is prompted to compose a new
  2289. mail message to be sent to the
  2290. person or group specified by the selected alias.  If aliases are
  2291. tagged the message is mailed to the person(s) and/or group(s)
  2292. specified by the tagged aliases.  Tags are cleared after mailing the
  2293. message.
  2294.  
  2295. .lp \h'16p'n .5i
  2296. Make a new user alias.  This prompts for a unique alias name and
  2297. then for an address.  If the alias
  2298. name is not unique, you are asked if you wish to replace
  2299. the existing alias.  If aliases are tagged you are asked if you
  2300. want to create a group alias from the tagged aliases.
  2301. The information provided is added
  2302. to your individual alias file (\f2$HOME/.elm/aliases.text\f1) and
  2303. then added to the database at the next alias resync.
  2304.  
  2305. .lp "\h'16p'r or q or i" .5i
  2306. Return.  Return to the index screen of the Elm program.  Any pending
  2307. deletions are processed and newalias is run to update the database.  New
  2308. additions are handled at this time as well.
  2309.  
  2310. .lp "\h'16p'R or Q or I" .5i
  2311. Quick return.  This behaves like the \*qr\*u command except that you are never
  2312. prompted for answers to alias disposition questions.
  2313. Elm disposes of aliases according to the value
  2314. set for the \f3alwaysdelete\f1 variable
  2315. in your \f2.elm/elmrc\f1 file (see \f3Boolean Variables\f1 in
  2316. section 2).
  2317.  
  2318. .lp \h'16p't .5i
  2319. Tag.
  2320. Tag the current alias for a later operation.\s-2\u5\d\s0
  2321. .fn
  2322. 5. Currently only \f3mail\f1, \f3change\f1, and \f2n3w alias\f1 support this.
  2323. .ef
  2324. This command (plus the \f3<control>-T\f1
  2325. version) behaves identically to its index screen
  2326. counterpart (see section 7, \f3Commands\f1).
  2327.  
  2328. .lp \h'16p'x .5i
  2329. Exit alias menu.  Exits the alias menu without processing any
  2330. deletions.  Aliases marked for deletion are unmarked and
  2331. \f2newalias\f1 is not run, even if alias additions have been made.
  2332. .in 0
  2333. .sp
  2334. Additionally, the movement keys (\*qj\*u, \*qk\*u, \*q+\*u, \*q\-\*u,
  2335. etc.) work in the same fashion as on the index screen (see section 7,
  2336. \f3Commands\f1).
  2337. .br
  2338. .ne 5
  2339. .sp
  2340. .hn 1 Elm and Signals
  2341.  
  2342. Elm can handle several standard
  2343. .ux
  2344. \f2signals\fR to do
  2345. some special processing.
  2346. Signals are interrupt messages sent from one program to
  2347. another.  No detailed messages are sent, but a properly configured
  2348. program (such as Elm) can watch for and handle these signals.
  2349.  
  2350. In particular, Elm watches for the following signals
  2351. and takes these actions:
  2352. .lp ALRM .5i
  2353. This is the alarm clock signal or time warning.
  2354. Elm uses this to wake itself up periodically and check for
  2355. new mail.
  2356. .lp HUP .5i
  2357. This is the hangup notice.
  2358. It means that the terminal/modem/whatever which you have been using
  2359. with Elm has become detached from the system where Elm
  2360. was running.
  2361. When Elm gets this signal, it aborts all the pending operations
  2362. and exits, leaving your mailbox unchanged.
  2363. .lp USR1 .5i
  2364. This is the first user-defined signal.
  2365. When Elm gets this signal, it receives any pending mail,
  2366. performs all the pending operations (deletes), and exits
  2367. leaving all unread mail marked as new.
  2368. This is the same as giving both the \f3$\f1 and \f3X\f1 commands.
  2369. .lp USR2 .5i
  2370. This is the second user-defined signal.
  2371. When Elm gets this signal, it receives any pending mail,
  2372. performs all the pending operations (deletes), and exits,
  2373. leaving all unread mail marked as old.
  2374. This is the same as giving both the \f3$\f1 and \f3Q\f1 commands.
  2375. .in 0
  2376. .sp
  2377. You would only use these signals yourself under the most unusual
  2378. circumstances.  For example, suppose you were using \f3Elm\fR
  2379. to read mail on \f2host_1\fR.  You have many messages, most of
  2380. which have been read and filed (and therefore deleted), or simply
  2381. deleted.  You have not yet resynchronized your mailbox (\f3$\f1
  2382. command).  Now you go to lunch.
  2383. On your return, you're stopped at the door and told to take care
  2384. of an emergency.  You go to another part of the building, and want
  2385. to read your mail to see what the emergency is \(em but you can't,
  2386. because Elm is still running at your desk.
  2387.  
  2388. What you really want is one of the scenarios given in the
  2389. description of \f2HUP\f1, \f2USR1\f1 or \f2USR2\f1.
  2390. Use your local \f2ps\f1 command to find out what the \f2process number\f1
  2391. of your Elm session is.  Then give the command
  2392. .sp
  2393. .nf
  2394. .ft CW
  2395. .zf
  2396. .ti .5i
  2397. kill \-\f2XXX process_number\f1
  2398. .fi
  2399. .sp
  2400. where \f2XXX\f1 is either \*QHUP\*U, \*QUSR1\*U or \*QUSR2\*U and
  2401. \f2process_number\f1 is the process number for your remote Elm session.
  2402. Your remote session will terminate with the actions noted above.
  2403. .br
  2404. .ne 5
  2405. .sp
  2406. .hn 1 Expert Mail Users and Debugging the Mailer
  2407.  
  2408. There are some additional facilities available in the Elm
  2409. mailer for those people who are knowledgeable about
  2410. mail protocols, or trying to debug/track down a problem.
  2411.  
  2412. The \f3h\f1 (\f3display with headers\f1) command at the command prompt
  2413. displays the current message ignoring the current
  2414. setting of the \f3weed\f1 variable (see \f3Boolean Variables\f1 in
  2415. section 2).  This is most useful
  2416. for answering questions of the form \*QI wonder what
  2417. this guy put in his header?\*U and such.  This command
  2418. does not show up on the mini-menu because it is somewhat
  2419. esoteric, but it does appear on the help screen.
  2420.  
  2421. The \f3@\f1 command at the command prompt
  2422. outputs a screen of debugging information,
  2423. including the number of lines and
  2424. offsets of each of the messages in the current mailbox.
  2425.  
  2426. The \f3#\f1 command at the command prompt
  2427. displays the entire stored \*Qrecord structure\*U for
  2428. the current message.
  2429.  
  2430. The \f3%\f1 command
  2431. displays the full computed return address of the
  2432. current message.
  2433.  
  2434. Starting up Elm with the \f3\-d\f1 (debug) option (see section 3,
  2435. \f3Command Line Options\f1) creates a file called
  2436. \f2ELM:debug.info\f1 in your home directory which contains a wealth of useful
  2437. information (to me, at least!) to aid in tracking down
  2438. what errors are occurring and why.
  2439.  
  2440. If there are any problems with Elm,  please try
  2441. to recreate the error with the debug option enabled
  2442. and set to the highest level (11) before sending defect reports my way.
  2443.  
  2444. One final note: all error names reported by the program
  2445. are documented in the \f2AT&T System V Interface Definition Reference
  2446. Manual\f1 in \f3errno\f1(2).
  2447.